提交 378251ad 编写于 作者: M Michael Niedermayer

try avi video name -> codec_id mapping if the mov one has no match

Originally committed as revision 4896 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 19531051
......@@ -919,6 +919,8 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
/* for MPEG4: set codec type by looking for it */
id = codec_get_id(mov_video_tags, format);
if(id <= 0)
id = codec_get_id(codec_bmp_tags, format);
if (id >= 0) {
AVCodec *codec;
codec = avcodec_find_decoder(id);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册