summaryrefslogtreecommitdiff
path: root/libavcodec/iff.c
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2013-01-29 11:01:13 +1100
committerPeter Ross <pross@xvid.org>2013-01-29 11:01:19 +1100
commitf9a8eeb08c4ccfd0678047e64b0f616ae1379c27 (patch)
treebe0f8426b3859b1f68aa39219aeb3249d61289f4 /libavcodec/iff.c
parent9efceaf1f788e997fbf9a72ee6f90c52374eaaea (diff)
iff/deep: fix rle32 on big-endian
Fixes ticket #2197. Signed-off-by: Peter Ross <pross@xvid.org>
Diffstat (limited to 'libavcodec/iff.c')
-rw-r--r--libavcodec/iff.c2
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;