iff/deep: fix rle32 on big-endian

Fixes ticket #2197.

Signed-off-by: Peter Ross <pross@xvid.org>
This commit is contained in:
Piotr Bandurski 2013-01-29 11:01:13 +11:00 committed by Peter Ross
parent 9efceaf1f7
commit f9a8eeb08c

View File

@ -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;