Commit 95ba2c8f authored by Falk Hüffner's avatar Falk Hüffner

tiny warning fix

Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4aa533be
......@@ -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