Commit a2758419 authored by mellum's avatar mellum

tiny warning fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2741 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 20d6c029
......@@ -822,7 +822,7 @@ static void av_log_default_callback(AVCodecContext* avctx, int level, const char
if(avctx && print_prefix)
fprintf(stderr, "[%s @ %p]", avctx->codec ? avctx->codec->name : "?", avctx);
print_prefix= (int)strstr(fmt, "\n");
print_prefix= strstr(fmt, "\n") != NULL;
vfprintf(stderr, fmt, vl);
}
......
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