Commit c6f79c3e authored by Stefan Gehrer's avatar Stefan Gehrer

fix header parsing, the NULL terminated File ID is followed by a space

Originally committed as revision 16738 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cb760a47
......@@ -51,6 +51,9 @@ static void get_token(ByteIOContext *s, char *buf, int maxlen)
buf[i++] = c;
}
if(!c)
get_byte(s);
buf[i] = 0; /* Ensure null terminated, but may be truncated */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment