Commit a1352552 authored by michael's avatar michael

cosmetics


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7270 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 99bab744
......@@ -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);
......
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