[Mplayer-cvslog] CVS: main/libmpdemux video.c,1.37,1.38

Alex Beregszaszi alex at mplayerhq.hu
Wed Mar 26 16:49:34 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv5046

Modified Files:
	video.c 
Log Message:
10l, found by Jan Kritzner <kritzner at informatik.rwth-aachen.de>

Index: video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/video.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- video.c	16 Mar 2003 20:13:28 -0000	1.37
+++ video.c	26 Mar 2003 15:49:10 -0000	1.38
@@ -391,6 +391,7 @@
 
     // override frame_time for variable/unknown FPS formats:
     if(!force_fps) switch(demuxer->file_format){
+      case DEMUXER_TYPE_GIF:
       case DEMUXER_TYPE_REAL:
 	if(d_video->pts>0 && pts1>0 && d_video->pts>pts1)
 	  frame_time=d_video->pts-pts1;
@@ -417,9 +418,7 @@
           // frame_time = 1/25.0;
         }
       }
-      case DEMUXER_TYPE_GIF:
-	  frame_time=d_video->pts-pts1;
-        break;
+      break;
     }
     
     if(demuxer->file_format==DEMUXER_TYPE_MPEG_PS ||



More information about the MPlayer-cvslog mailing list