[MPlayer-cvslog] CVS: main/libmpdemux video.c,1.56,1.57

Nico Sabbi CVS syncmail at mplayerhq.hu
Sat Dec 31 18:47:56 CET 2005


CVS change done by Nico Sabbi CVS

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

Modified Files:
	video.c 
Log Message:
search  next sequence_header untile a valid one is found

Index: video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/video.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- video.c	19 Dec 2005 19:38:28 -0000	1.56
+++ video.c	31 Dec 2005 17:47:54 -0000	1.57
@@ -274,7 +274,7 @@
    break;
  }
  case VIDEO_MPEG12: {
-//mpeg_header_parser:
+mpeg_header_parser:
    // Find sequence_header first:
    videobuf_len=0; videobuf_code_len=0;
    telecine=0; telecine_cnt=-2.5;
@@ -307,7 +307,8 @@
    }
    if(mp_header_process_sequence_header (&picture, &videobuffer[4])) {
      mp_msg(MSGT_DECVIDEO,MSGL_ERR,MSGTR_BadMpegSequHdr); 
-     return 0;
+     goto mpeg_header_parser;
+     //return 0;
    }
    if(sync_video_packet(d_video)==0x1B5){ // next packet is seq. ext.
 //    videobuf_len=0;




More information about the MPlayer-cvslog mailing list