tiny warning fix

Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Falk Hüffner 21 years ago
parent 4aa533be03
commit 95ba2c8f43
  1. 2
      libavcodec/utils.c

@ -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);
}

Loading…
Cancel
Save