[MPlayer-cvslog] CVS: main/libmpdemux demux_mpg.c,1.67,1.68

Loren Merritt CVS syncmail at mplayerhq.hu
Tue Jan 3 08:30:01 CET 2006


CVS change done by Loren Merritt CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv19484/libmpdemux

Modified Files:
	demux_mpg.c 
Log Message:
h264es: don't seek to non-keyframes



Index: demux_mpg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mpg.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- demux_mpg.c	2 Jan 2006 20:40:25 -0000	1.67
+++ demux_mpg.c	3 Jan 2006 07:29:59 -0000	1.68
@@ -757,7 +757,7 @@
 	      if((videobuffer[pos+4] & 0x3F) == 0) break;	//I-frame
 	    }
           } else if(sh_video->format == 0x10000005){	//h264
-            if((i & ~0x60) == 0x101 || (i & ~0x60) == 0x102 || (i & ~0x60) == 0x105) break;
+            if((i & ~0x60) == 0x105) break;
           } else { 	//default mpeg1/2
 	    if(i==0x1B3 || i==0x1B8) break; // found it!
 	  }




More information about the MPlayer-cvslog mailing list