Commit 87d6d5ef authored by michael's avatar michael

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4896 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ebbf24ac
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment