aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-18 20:29:03 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-18 20:29:03 +0200
commit2b1a2466c7f0ec59b98beac583bea944c82e25dc (patch)
tree223631d4ad1bbfc9a97230951aff530f2dede2bf /libavcodec
parentd0c27e88d2bb495d61bd32f41769f767a0c2a802 (diff)
downloadffmpeg-2b1a2466c7f0ec59b98beac583bea944c82e25dc.tar.gz
dv: change assert(a2 < 4) to av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dv.c2
1 files changed, 1 insertions, 1 deletions
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]]);