mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-20 16:25:04 +02:00
g722enc: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d57a9928ea
commit
38d1c5a4cc
@ -27,6 +27,7 @@
|
||||
* G.722 ADPCM audio encoder
|
||||
*/
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
#include "avcodec.h"
|
||||
#include "internal.h"
|
||||
#include "g722.h"
|
||||
@ -246,7 +247,7 @@ static void g722_encode_trellis(G722Context *c, int trellis,
|
||||
continue;\
|
||||
if (heap_pos[index] < frontier) {\
|
||||
pos = heap_pos[index]++;\
|
||||
assert(pathn[index] < FREEZE_INTERVAL * frontier);\
|
||||
av_assert2(pathn[index] < FREEZE_INTERVAL * frontier);\
|
||||
node = nodes_next[index][pos] = next[index]++;\
|
||||
node->path = pathn[index]++;\
|
||||
} else {\
|
||||
|
Loading…
Reference in New Issue
Block a user