This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avformat/vividas: check if size is enough big in xor_block
tags/n4.2
Paul B Mahol
7 years ago
parent
14c2f7f652
commit
e9909fe194
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libavformat/vividas.c
+ 2
- 1
libavformat/vividas.c
View File
@@ -129,11 +129,12 @@ static void xor_block(void *p1, void *p2, unsigned size, int key, unsigned *key_
size >>= 2;
while (size
--
) {
while (size
> 0
) {
*d2 = *d1 ^ k;
k += key;
d1++;
d2++;
size--;
}
*key_ptr = k;
Write
Preview
Loading…
Cancel
Save