Assert that the context doesnt overflow in ffv1.

Originally committed as revision 25475 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Michael Niedermayer 14 years ago
parent e2b2f8454c
commit f08ed90d94
  1. 1
      libavcodec/ffv1.c

@ -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…
Cancel
Save