[Ffmpeg-cvslog] CVS: ffmpeg/libavformat mov.c,1.100,1.101

Michael Niedermayer CVS michael
Wed Jan 25 17:04:34 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv10337

Modified Files:
	mov.c 
Log Message:
try avi video name -> codec_id mapping if the mov one has no match


Index: mov.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mov.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- mov.c	24 Jan 2006 10:33:14 -0000	1.100
+++ mov.c	25 Jan 2006 16:04:31 -0000	1.101
@@ -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);





More information about the ffmpeg-cvslog mailing list