diff options
author | Piotr Bandurski <ami_stuff@o2.pl> | 2013-01-29 11:01:13 +1100 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2013-01-29 11:01:19 +1100 |
commit | f9a8eeb08c4ccfd0678047e64b0f616ae1379c27 (patch) | |
tree | be0f8426b3859b1f68aa39219aeb3249d61289f4 | |
parent | 9efceaf1f788e997fbf9a72ee6f90c52374eaaea (diff) | |
download | ffmpeg-f9a8eeb08c4ccfd0678047e64b0f616ae1379c27.tar.gz |
iff/deep: fix rle32 on big-endian
Fixes ticket #2197.
Signed-off-by: Peter Ross <pross@xvid.org>
-rw-r--r-- | libavcodec/iff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/iff.c b/libavcodec/iff.c index 6b1fd89d6b..8e7f8cae46 100644 --- a/libavcodec/iff.c +++ b/libavcodec/iff.c @@ -576,7 +576,7 @@ static void decode_deep_rle32(uint8_t *dst, const uint8_t *src, int src_size, in } } else { int size = -opcode + 1; - uint32_t pixel = AV_RL32(src); + uint32_t pixel = AV_RN32(src); for (i = 0; i < size; i++) { *(uint32_t *)(dst + y*linesize + x * 4) = pixel; x += 1; |