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

pull/304/head^2
Carl Eugen Hoyos 6 years ago
parent 17aed996bc
commit 01db03f158
  1. 2
      libavformat/vividas.c

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

Loading…
Cancel
Save