mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 12:27:18 +00:00
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
This commit is contained in:
parent
cb760a4790
commit
c6f79c3e0b
@ -51,6 +51,9 @@ static void get_token(ByteIOContext *s, char *buf, int maxlen)
|
|||||||
buf[i++] = c;
|
buf[i++] = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!c)
|
||||||
|
get_byte(s);
|
||||||
|
|
||||||
buf[i] = 0; /* Ensure null terminated, but may be truncated */
|
buf[i] = 0; /* Ensure null terminated, but may be truncated */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user