From f3cb1cd078df2f58970efc59677d3937e394dd4c Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sun, 7 Mar 2010 08:52:53 +0000 Subject: [PATCH] 1l trocadero: forgot reference operator on bytestream_get_be32() argument Originally committed as revision 22277 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtmppkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c index d4ffe8be3e..58c3abe345 100644 --- a/libavformat/rtmppkt.c +++ b/libavformat/rtmppkt.c @@ -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) { size = bytestream_get_be16(&data); } else { - size = bytestream_get_be32(data); + size = bytestream_get_be32(&data); } size = FFMIN(size, 1023); memcpy(buf, data, size);