From f9a8eeb08c4ccfd0678047e64b0f616ae1379c27 Mon Sep 17 00:00:00 2001 From: Piotr Bandurski Date: Tue, 29 Jan 2013 11:01:13 +1100 Subject: iff/deep: fix rle32 on big-endian Fixes ticket #2197. Signed-off-by: Peter Ross --- libavcodec/iff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/iff.c') 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; -- cgit v1.2.3