Commit f9a8eeb0 authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Peter Ross

iff/deep: fix rle32 on big-endian

Fixes ticket #2197.
Signed-off-by: 's avatarPeter Ross <pross@xvid.org>
parent 9efceaf1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment