changeset 33355:6a6dc18cde26

Restore variable that is actually used in debug output.
author reimar
date Sun, 08 May 2011 10:46:41 +0000
parents a0c9f0202d8e
children bf994e94e70a
files libmpdemux/demux_asf.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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