Browse Source

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

tags/n4.2
Carl Eugen Hoyos 7 years ago
parent
commit
01db03f158
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/vividas.c

+ 1
- 1
libavformat/vividas.c View File

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