Mercurial > libavformat.hg
changeset 5765:6d4ba584fcf2 libavformat
1l trocadero: forgot reference operator on bytestream_get_be32() argument
author | kostya |
---|---|
date | Sun, 07 Mar 2010 08:52:53 +0000 |
parents | 99068df75916 |
children | a292ef47e2f9 |
files | rtmppkt.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rtmppkt.c Sun Mar 07 02:35:45 2010 +0000 +++ b/rtmppkt.c Sun Mar 07 08:52:53 2010 +0000 @@ -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);