Commit 79a14677 authored by kostya's avatar kostya

Detect split RV30 slices

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15732 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eb198d9d
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment