Commit 01db03f1 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/vividas: Support demuxing on big-endian hardware.

parent 17aed996
......@@ -130,7 +130,7 @@ static void xor_block(void *p1, void *p2, unsigned size, int key, unsigned *key_
size >>= 2;
while (size > 0) {
*d2 = *d1 ^ k;
*d2 = *d1 ^ (HAVE_BIGENDIAN ? av_bswap32(k) : k);
k += key;
d1++;
d2++;
......
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