Commit 177df075 authored by kostya's avatar kostya

1l trocadero: forgot reference operator on bytestream_get_be32() argument

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22277 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 03b9cbe1
...@@ -376,7 +376,7 @@ static void ff_amf_tag_contents(void *ctx, const uint8_t *data, const uint8_t *d ...@@ -376,7 +376,7 @@ static void ff_amf_tag_contents(void *ctx, const uint8_t *data, const uint8_t *d
if (data[-1] == AMF_DATA_TYPE_STRING) { if (data[-1] == AMF_DATA_TYPE_STRING) {
size = bytestream_get_be16(&data); size = bytestream_get_be16(&data);
} else { } else {
size = bytestream_get_be32(data); size = bytestream_get_be32(&data);
} }
size = FFMIN(size, 1023); size = FFMIN(size, 1023);
memcpy(buf, data, size); memcpy(buf, data, size);
......
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