mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Detect split RV30 slices
Originally committed as revision 15732 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
75add6fbfc
commit
42d6c3ba36
@ -40,7 +40,8 @@ static int rv30_parse_slice_header(RV34DecContext *r, GetBitContext *gb, SliceIn
|
||||
int mb_size;
|
||||
|
||||
memset(si, 0, sizeof(SliceInfo));
|
||||
skip_bits(gb, 3);
|
||||
if(get_bits(gb, 3))
|
||||
return -1;
|
||||
si->type = get_bits(gb, 2);
|
||||
if(si->type == 1) si->type = 0;
|
||||
if(get_bits1(gb))
|
||||
|
Loading…
Reference in New Issue
Block a user