mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-17 04:20:10 +01:00
ffv1enc: fix assert in put_vlc_symbol() and update to av_assert2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user