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
fraps: check for overread
Fixeds Ticket619 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer
14 years ago
parent
bf0ac7aa69
commit
3bdfef31ac
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/fraps.c
+0
-1
tests/ref/fate/fraps-v5
+ 2
- 0
libavcodec/fraps.c
View File
@@ -114,6 +114,8 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w,
else if(Uoff) dst[i] += 0x80;
}
dst += stride;
if(get_bits_left(&gb) < 0)
return -1;
}
free_vlc(&vlc);
return 0;
+ 0
- 1
tests/ref/fate/fraps-v5
View File
@@ -56,4 +56,3 @@
0, 165000, 145152, 0x80448031
0, 168000, 145152, 0xe3b1fbf7
0, 171000, 145152, 0xa00395a4
0, 174000, 145152, 0xdf3b4fce
Write
Preview
Loading…
Cancel
Save