summaryrefslogtreecommitdiff
path: root/libavformat/rtmppkt.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2010-03-07 08:52:53 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2010-03-07 08:52:53 +0000
commitf3cb1cd078df2f58970efc59677d3937e394dd4c (patch)
tree12f97af2ba1d222f41c12c3ef2e1940464875c61 /libavformat/rtmppkt.c
parent62df111cf04956fc9864204ddefb5ea10bdd7061 (diff)
1l trocadero: forgot reference operator on bytestream_get_be32() argument
Originally committed as revision 22277 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtmppkt.c')
-rw-r--r--libavformat/rtmppkt.c2
1 files changed, 1 insertions, 1 deletions
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);