Bug fix for missing va_end on stdarg list. According to online documentation, vfprintf does not call va_end. This was caught by cppcheck.
This commit is contained in:
parent
44c8e15503
commit
0c36a3575e
|
@ -841,6 +841,8 @@ static void log_callback( void *avcl, int level, const char *fmt, va_list vl)
|
|||
va_copy( vl2, vl );
|
||||
|
||||
vfprintf( avLogFp, fmt, vl2 );
|
||||
|
||||
va_end(vl2);
|
||||
}
|
||||
|
||||
av_log_default_callback( avcl, level, fmt, vl );
|
||||
|
|
Loading…
Reference in New Issue