projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb760a4
)
fix header parsing, the NULL terminated File ID is followed by a space
author
Stefan Gehrer
<stefan.gehrer@gmx.de>
Sat, 24 Jan 2009 08:06:43 +0000
(08:06 +0000)
committer
Stefan Gehrer
<stefan.gehrer@gmx.de>
Sat, 24 Jan 2009 08:06:43 +0000
(08:06 +0000)
Originally committed as revision 16738 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/iss.c
patch
|
blob
|
history
diff --git
a/libavformat/iss.c
b/libavformat/iss.c
index
4a16318
..
c722f62
100644
(file)
--- a/
libavformat/iss.c
+++ b/
libavformat/iss.c
@@
-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 */
}