diff libmpdemux/demux_asf.c @ 33355:6a6dc18cde26

Restore variable that is actually used in debug output.
author reimar
date Sun, 08 May 2011 10:46:41 +0000
parents dac93a36919e
children 277ec491a8a7
line wrap: on
line diff
--- a/libmpdemux/demux_asf.c	Sun May 08 08:55:00 2011 +0000
+++ b/libmpdemux/demux_asf.c	Sun May 08 10:46:41 2011 +0000
@@ -363,6 +363,7 @@
             unsigned char segtype=p[1];
             unsigned padding;
             unsigned plen;
+            unsigned sequence;
             unsigned long time=0;
             unsigned short duration=0;
 
@@ -397,7 +398,7 @@
 
             // Read sequence:
 	    if(!check_varlen(p, p_end, flags>> 1)) return 0; // Not enough data
-	    read_varlen(&p, flags >> 1, 0);
+	    sequence = read_varlen(&p, flags >> 1, 0);
 
             // Read padding size (padding):
 	    if(!check_varlen(p, p_end, flags>> 3)) return 0; // Not enough data