From ed015f67a2f9fe7448a56f9e573f5aca07237ae0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 6 Oct 2012 03:29:37 +0200 Subject: [PATCH] ffv1enc: fix assert in put_vlc_symbol() and update to av_assert2() Signed-off-by: Michael Niedermayer --- libavcodec/ffv1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 5ce8e7aa20..26fa3a86b4 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);