diff iss.c @ 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 f7c35963d089
children 7795d5d87484
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 */
 }