[FFmpeg-cvslog] ffv1enc: fix assert in put_vlc_symbol() and update to av_assert2()

Michael Niedermayer git at videolan.org
Sat Oct 6 03:33:11 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Oct  6 03:29:37 2012 +0200| [ed015f67a2f9fe7448a56f9e573f5aca07237ae0] | committer: Michael Niedermayer

ffv1enc: fix assert in put_vlc_symbol() and update to av_assert2()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ed015f67a2f9fe7448a56f9e573f5aca07237ae0
---

 libavcodec/ffv1.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 5ce8e7a..26fa3a8 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -414,7 +414,7 @@ static inline void put_vlc_symbol(PutBitContext *pb, VlcState * const state, int
         i += i;
     }
 
-    assert(k<=8);
+    av_assert2(k<=13);
 
 #if 0 // JPEG LS
     if(k==0 && 2*state->drift <= - state->count) code= v ^ (-1);



More information about the ffmpeg-cvslog mailing list