mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
lavf/vividas: Support demuxing on big-endian hardware.
This commit is contained in:
parent
17aed996bc
commit
01db03f158
@ -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…
Reference in New Issue
Block a user