OSDN Git Service

1l trocadero: forgot reference operator on bytestream_get_be32() argument
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 7 Mar 2010 08:52:53 +0000 (08:52 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 7 Mar 2010 08:52:53 +0000 (08:52 +0000)
Originally committed as revision 22277 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtmppkt.c

index d4ffe8b..58c3abe 100644 (file)
@@ -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);