aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-07-18 17:05:07 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-07-18 18:08:57 +0200
commit5784a46986be6f87e8041f67acd9ccaecb1f62df (patch)
treec3c61f707abcd6c413161cda35f7a261b3161b09
parent739ec710c4e89537f3eb327a1ebddb8ceb5f2256 (diff)
downloadffmpeg-5784a46986be6f87e8041f67acd9ccaecb1f62df.tar.gz
lavf/utils: show the number of stream in case of missing parameter
Increase feedback provided in avformat_find_stream_info().
-rw-r--r--libavformat/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 1fd7f75f2a..dfdc51de37 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2721,9 +2721,9 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
char buf[256];
avcodec_string(buf, sizeof(buf), st->codec, 0);
av_log(ic, AV_LOG_WARNING,
- "Could not find codec parameters for stream (%s): %s\n"
+ "Could not find codec parameters for stream %d (%s): %s\n"
"Consider increasing the value for the 'analyzeduration' and 'probesize' options\n",
- buf, errmsg);
+ i, buf, errmsg);
} else {
ret = 0;
}