changeset 9693:1d598bf65571

10l, found by Jan Kritzner <kritzner@informatik.rwth-aachen.de>
author alex
date Wed, 26 Mar 2003 15:49:10 +0000
parents 148281a4e77b
children 43c6bc4e7e2f
files libmpdemux/video.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/video.c	Wed Mar 26 11:51:40 2003 +0000
+++ b/libmpdemux/video.c	Wed Mar 26 15:49:10 2003 +0000
@@ -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 ||