Index: patched-ffmpeg-mt/libavformat/rtmppkt.c |
=================================================================== |
--- patched-ffmpeg-mt/libavformat/rtmppkt.c (revision 41250) |
+++ patched-ffmpeg-mt/libavformat/rtmppkt.c (working copy) |
@@ -376,7 +376,7 @@ |
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); |