Assert that the context doesnt overflow in ffv1.
Originally committed as revision 25475 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e2b2f8454c
commit
f08ed90d94
@ -1024,6 +1024,7 @@ static av_always_inline void decode_line(FFV1Context *s, int w, int_fast16_t *sa
|
||||
}else
|
||||
sign=0;
|
||||
|
||||
av_assert2(context < p->context_count);
|
||||
|
||||
if(s->ac){
|
||||
diff= get_symbol_inline(c, p->state[context], 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user