[FFmpeg-cvslog] dv: change assert(a2 < 4) to av_assert()

Michael Niedermayer git at videolan.org
Thu Oct 18 20:37:43 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Oct 18 20:29:03 2012 +0200| [2b1a2466c7f0ec59b98beac583bea944c82e25dc] | committer: Michael Niedermayer

dv: change assert(a2 < 4) to av_assert()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2b1a2466c7f0ec59b98beac583bea944c82e25dc
---

 libavcodec/dv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 5b4ad23..039f978 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]]);



More information about the ffmpeg-cvslog mailing list