Commit ed015f67 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 856834a7
...@@ -414,7 +414,7 @@ static inline void put_vlc_symbol(PutBitContext *pb, VlcState * const state, int ...@@ -414,7 +414,7 @@ static inline void put_vlc_symbol(PutBitContext *pb, VlcState * const state, int
i += i; i += i;
} }
assert(k<=8); av_assert2(k<=13);
#if 0 // JPEG LS #if 0 // JPEG LS
if(k==0 && 2*state->drift <= - state->count) code= v ^ (-1); if(k==0 && 2*state->drift <= - state->count) code= v ^ (-1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment