changeset 4282:ef4f40b555b7 libavformat

fix header parsing, the NULL terminated File ID is followed by a space
author stefang
date Sat, 24 Jan 2009 08:06:43 +0000
parents f1d8951d6813
children 7795d5d87484
files iss.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/iss.c	Sat Jan 24 04:56:18 2009 +0000
+++ b/iss.c	Sat Jan 24 08:06:43 2009 +0000
@@ -51,6 +51,9 @@
             buf[i++] = c;
     }
 
+    if(!c)
+        get_byte(s);
+
     buf[i] = 0; /* Ensure null terminated, but may be truncated */
 }