[MPlayer-cvslog] r21986 - trunk/libmpdemux/demux_asf.c

reimar subversion at mplayerhq.hu
Sun Jan 21 19:29:18 CET 2007


Author: reimar
Date: Sun Jan 21 19:29:18 2007
New Revision: 21986

Modified:
   trunk/libmpdemux/demux_asf.c

Log:
Instead of printing a useless "sig11 coming soon" message, just abort parsing
in the hope of still saving things (helps with at least
http://sam.zoy.org/zzuf/lol-mplayer.wmv).


Modified: trunk/libmpdemux/demux_asf.c
==============================================================================
--- trunk/libmpdemux/demux_asf.c	(original)
+++ trunk/libmpdemux/demux_asf.c	Sun Jan 21 19:29:18 2007
@@ -360,7 +360,10 @@
               unsigned int time2=0;
 	      int keyframe=0;
 
-              if(p>=p_end) mp_msg(MSGT_DEMUX,MSGL_V,"Warning! invalid packet 1, sig11 coming soon...\n");
+              if(p>=p_end) {
+                mp_msg(MSGT_DEMUX,MSGL_V,"Warning! invalid packet 1, aborting parsing...\n");
+                break;
+              }
 
               if( mp_msg_test(MSGT_DEMUX,MSGL_DBG2) ){
                 int i;



More information about the MPlayer-cvslog mailing list