[MPlayer-cvslog] CVS: main/libmpdemux aviheader.c,1.74,1.75

Michael Niedermayer CVS syncmail at mplayerhq.hu
Thu Apr 6 22:36:42 CEST 2006


CVS change done by Michael Niedermayer CVS

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

Modified Files:
	aviheader.c 
Log Message:
zero sized frames are not keyframes


Index: aviheader.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/aviheader.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- aviheader.c	6 Apr 2006 20:04:02 -0000	1.74
+++ aviheader.c	6 Apr 2006 20:36:39 -0000	1.75
@@ -646,6 +646,8 @@
     
     c=stream_read_dword(demuxer->stream);
 
+    if(!len) idx->dwFlags&=~AVIIF_KEYFRAME;
+
     // Fix keyframes for DivX files:
     if(idxfix_divx)
       if(avi_stream_id(id)==idxfix_videostream){




More information about the MPlayer-cvslog mailing list