# HG changeset patch # User michael # Date 1138205071 0 # Node ID 97a083dcfb7b13967c4b590f32dec4650b705b55 # Parent 844bc9093aa3a9a60fc7d37191506609b0befa6c try avi video name -> codec_id mapping if the mov one has no match diff -r 844bc9093aa3 -r 97a083dcfb7b mov.c --- 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);