[MPlayer-cvslog] r21969 - trunk/libmpdemux/video.c

nicodvb subversion at mplayerhq.hu
Sat Jan 20 14:10:40 CET 2007


Author: nicodvb
Date: Sat Jan 20 14:10:40 2007
New Revision: 21969

Modified:
   trunk/libmpdemux/video.c

Log:
in vc1 probing code, all packets before the first sequence header must be skipped, not read

Modified: trunk/libmpdemux/video.c
==============================================================================
--- trunk/libmpdemux/video.c	(original)
+++ trunk/libmpdemux/video.c	Sat Jan 20 14:10:40 2007
@@ -365,7 +365,7 @@
    while(1){
       int i=sync_video_packet(d_video);
       if(i==0x10F) break; // found it!
-      if(!i || !read_video_packet(d_video)){
+      if(!i || !skip_video_packet(d_video)){
         if( mp_msg_test(MSGT_DECVIDEO,MSGL_V) )  mp_msg(MSGT_DECVIDEO,MSGL_V,"NONE :(\n");
         mp_msg(MSGT_DECVIDEO,MSGL_ERR, "Couldn't find VC-1 sequence header\n");
         return 0;



More information about the MPlayer-cvslog mailing list