Commit 48ee302e authored by Michael Niedermayer's avatar Michael Niedermayer

Fix apparently exploitable race condition.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 628724b6
......@@ -94,7 +94,8 @@ void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl)
{
static int print_prefix=1;
static int count;
static char line[1024], prev[1024];
static char prev[1024];
char line[1024];
static int is_atty;
AVClass* avc= ptr ? *(AVClass**)ptr : NULL;
if(level>av_log_level)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment