projects
/
platform
/
upstream
/
libav.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 4a163184812d4be6fc6ec90ad13e8271d21fba04..c722f62d2bf79562f80474bc22155628a65695b8 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 */
}