tiny warning fix
Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4aa533be03
commit
95ba2c8f43
@ -822,7 +822,7 @@ static void av_log_default_callback(AVCodecContext* avctx, int level, const char
|
|||||||
if(avctx && print_prefix)
|
if(avctx && print_prefix)
|
||||||
fprintf(stderr, "[%s @ %p]", avctx->codec ? avctx->codec->name : "?", avctx);
|
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);
|
vfprintf(stderr, fmt, vl);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user