Mercurial > libavformat.hg
diff mov.c @ 913:97a083dcfb7b libavformat
try avi video name -> codec_id mapping if the mov one has no match
author | michael |
---|---|
date | Wed, 25 Jan 2006 16:04:31 +0000 |
parents | 844bc9093aa3 |
children | 2244fbe4a883 |
line wrap: on
line diff
--- a/mov.c Tue Jan 24 10:33:14 2006 +0000 +++ b/mov.c Wed Jan 25 16:04:31 2006 +0000 @@ -919,6 +919,8 @@ /* 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);