Commit 0af1671e authored by Peter Ross's avatar Peter Ross

wtv: only warn about unknown subtype, if it actually unknown

Originally committed as revision 26123 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 945df970
......@@ -244,9 +244,9 @@ static AVStream * parse_media_type(AVFormatContext *s, int sid,
av_log(s, AV_LOG_WARNING, "MPEG1WAVEFORMATEX underflow\n");
} else {
st->codec->codec_id = ff_codec_guid_get_id(audio_guids, subtype);
if (st->codec->codec_id == CODEC_ID_NONE)
av_log(s, AV_LOG_WARNING, "unknown subtype:"PRI_GUID"\n", ARG_GUID(subtype));
}
if (st->codec->codec_id == CODEC_ID_NONE)
av_log(s, AV_LOG_WARNING, "unknown subtype:"PRI_GUID"\n", ARG_GUID(subtype));
return st;
} else if (!ff_guidcmp(mediatype, mediatype_video)) {
st = new_stream(s, sid, AVMEDIA_TYPE_VIDEO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment