diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 5b4ad2337d..039f978d8b 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -627,7 +627,7 @@ static inline void dv_guess_qnos(EncBlockInfo* blks, int* qnos) if (b->next[k] >= mb_area_start[a+1] && b->next[k]<64){ for (a2 = a + 1; b->next[k] >= mb_area_start[a2+1]; a2++) b->prev[a2] = prev; - assert(a2 < 4); + av_assert2(a2 < 4); assert(b->mb[b->next[k]]); b->bit_size[a2] += dv_rl2vlc_size(b->next[k] - prev - 1, b->mb[b->next[k]]) -dv_rl2vlc_size(b->next[k] - k - 1, b->mb[b->next[k]]);