projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b77e335
)
rmdec: Improve message for demux error
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Thu, 5 Mar 2015 16:42:45 +0000
(16:42 +0000)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Sun, 8 Mar 2015 02:35:04 +0000
(
02:35
+0000)
Use correct context, reduce log level, don't assume it is a video stream,
and print the tag of the unknown stream.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavformat/rmdec.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/rmdec.c
b/libavformat/rmdec.c
index
1507764
..
e2cf61f
100644
(file)
--- a/
libavformat/rmdec.c
+++ b/
libavformat/rmdec.c
@@
-313,7
+313,7
@@
int ff_rm_read_mdpr_codecdata(AVFormatContext *s, AVIOContext *pb,
int fps;
if (avio_rl32(pb) != MKTAG('V', 'I', 'D', 'O')) {
fail1:
- av_log(s
t->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);