[FFmpeg-cvslog] r16738 - trunk/libavformat/iss.c
stefang
subversion
Sat Jan 24 09:06:43 CET 2009
Author: stefang
Date: Sat Jan 24 09:06:43 2009
New Revision: 16738
Log:
fix header parsing, the NULL terminated File ID is followed by a space
Modified:
trunk/libavformat/iss.c
Modified: trunk/libavformat/iss.c
==============================================================================
--- trunk/libavformat/iss.c Sat Jan 24 05:56:18 2009 (r16737)
+++ trunk/libavformat/iss.c Sat Jan 24 09:06:43 2009 (r16738)
@@ -51,6 +51,9 @@ static void get_token(ByteIOContext *s,
buf[i++] = c;
}
+ if(!c)
+ get_byte(s);
+
buf[i] = 0; /* Ensure null terminated, but may be truncated */
}
More information about the ffmpeg-cvslog
mailing list