avformat/utils: in debug mode, print number of streams found before avformat_find_stream_info()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/221/head
Aman Gupta 9 years ago committed by Michael Niedermayer
parent e9391ab121
commit ddffafc0b0
  1. 4
      libavformat/utils.c

@ -3297,8 +3297,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
} }
if (ic->pb) if (ic->pb)
av_log(ic, AV_LOG_DEBUG, "Before avformat_find_stream_info() pos: %"PRId64" bytes read:%"PRId64" seeks:%d\n", av_log(ic, AV_LOG_DEBUG, "Before avformat_find_stream_info() pos: %"PRId64" bytes read:%"PRId64" seeks:%d nb_streams:%d\n",
avio_tell(ic->pb), ic->pb->bytes_read, ic->pb->seek_count); avio_tell(ic->pb), ic->pb->bytes_read, ic->pb->seek_count, ic->nb_streams);
for (i = 0; i < ic->nb_streams; i++) { for (i = 0; i < ic->nb_streams; i++) {
const AVCodec *codec; const AVCodec *codec;

Loading…
Cancel
Save