diff --git a/libavformat/mov.c b/libavformat/mov.c index 216f5e6fb428822c165aa85441c36219ccfb4562..50f091c7d1d80def5267ba185c122a552e198403 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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);