[FFmpeg-cvslog] r25475 - trunk/libavcodec/ffv1.c

michael subversion
Fri Oct 15 00:03:38 CEST 2010


Author: michael
Date: Fri Oct 15 00:03:38 2010
New Revision: 25475

Log:
Assert that the context doesnt overflow in ffv1.

Modified:
   trunk/libavcodec/ffv1.c

Modified: trunk/libavcodec/ffv1.c
==============================================================================
--- trunk/libavcodec/ffv1.c	Fri Oct 15 00:03:32 2010	(r25474)
+++ trunk/libavcodec/ffv1.c	Fri Oct 15 00:03:38 2010	(r25475)
@@ -1024,6 +1024,7 @@ static av_always_inline void decode_line
         }else
             sign=0;
 
+        av_assert2(context < p->context_count);
 
         if(s->ac){
             diff= get_symbol_inline(c, p->state[context], 1);



More information about the ffmpeg-cvslog mailing list