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:
896bcd2
)
cosmetics
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 10 Dec 2006 17:32:05 +0000
(17:32 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 10 Dec 2006 17:32:05 +0000
(17:32 +0000)
Originally committed as revision 7270 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/flvdec.c
patch
|
blob
|
history
diff --git
a/libavformat/flvdec.c
b/libavformat/flvdec.c
index
a137698
..
4c1c962
100644
(file)
--- a/
libavformat/flvdec.c
+++ b/
libavformat/flvdec.c
@@
-41,12
+41,10
@@
static int flv_probe(AVProbeData *p)
}
static int amf_get_string(ByteIOContext *ioc, char *buffer, int buffsize) {
- int length;
-
- length = get_be16(ioc);
+ int length = get_be16(ioc);
if(length >= buffsize) {
url_fskip(ioc, length);
- return -1;
//string will not fit in buffer
+ return -1;
}
get_buffer(ioc, buffer, length);