[FFmpeg-cvslog] dsputil_template: replace assert() by av_assert2()

Michael Niedermayer git at videolan.org
Sun Oct 7 19:43:38 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct  7 19:31:15 2012 +0200| [1822aee7e6d9b325d618804b451d2bc4b5bd7164] | committer: Michael Niedermayer

dsputil_template: replace assert() by av_assert2()

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

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

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

diff --git a/libavcodec/dsputil_template.c b/libavcodec/dsputil_template.c
index 7286726..0d6e8df 100644
--- a/libavcodec/dsputil_template.c
+++ b/libavcodec/dsputil_template.c
@@ -680,7 +680,7 @@ static void FUNCC(OPNAME ## h264_chroma_mc2)(uint8_t *p_dst/*align 8*/, uint8_t
     int i;\
     stride >>= sizeof(pixel)-1;\
     \
-    assert(x<8 && y<8 && x>=0 && y>=0);\
+    av_assert2(x<8 && y<8 && x>=0 && y>=0);\
 \
     if(D){\
         for(i=0; i<h; i++){\



More information about the ffmpeg-cvslog mailing list