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.
... | ... |
@@ -313,7 +313,7 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb, |
313 | 313 |
int fps; |
314 | 314 |
if (avio_rl32(pb) != MKTAG('V', 'I', 'D', 'O')) { |
315 | 315 |
fail1: |
316 |
- av_log(st->codec, AV_LOG_ERROR, "Unsupported video codec\n"); |
|
316 |
+ av_log(s, AV_LOG_WARNING, "Unsupported stream type %08x\n", v); |
|
317 | 317 |
goto skip; |
318 | 318 |
} |
319 | 319 |
st->codec->codec_tag = avio_rl32(pb); |