mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00: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