mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
cosmetics
Originally committed as revision 7270 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
896bcd2e85
commit
759dd138df
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user