aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-24 23:47:06 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-25 00:06:19 +0100
commit3880b4541ace2697f380ae1f43cb2299efeb2cc7 (patch)
tree31e08ca426e9735bc5f5365218a5e7b82aff3421
parente421b79d01a3bf18d1ff8d8c4639669b66d788a5 (diff)
downloadffmpeg-3880b4541ace2697f380ae1f43cb2299efeb2cc7.tar.gz
Do not claim that every unknown rm stream is a video stream.
Also reduce verbosity for the unsupported stream message, use an AVFormatContext for av_log and and print the tag of the unknown stream. Improves ticket #672.
-rw-r--r--libavformat/rmdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 0d88e765d1..4dd93de68a 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -313,7 +313,7 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb,
int fps;
if (avio_rl32(pb) != MKTAG('V', 'I', 'D', 'O')) {
fail1:
- av_log(st->codec, AV_LOG_ERROR, "Unsupported video codec\n");
+ av_log(s, AV_LOG_WARNING, "Unsupported stream type %08x\n", v);
goto skip;
}
st->codec->codec_tag = avio_rl32(pb);