diff --git a/libavcodec/dsputil_template.c b/libavcodec/dsputil_template.c index 7286726410..0d6e8df313 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