diff options
Diffstat (limited to 'libavcodec/vc1dsp.c')
-rw-r--r-- | libavcodec/vc1dsp.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libavcodec/vc1dsp.c b/libavcodec/vc1dsp.c index 81a74e3e4a..a874509ca9 100644 --- a/libavcodec/vc1dsp.c +++ b/libavcodec/vc1dsp.c @@ -2,20 +2,20 @@ * VC-1 and WMV3 decoder - DSP functions * Copyright (c) 2006 Konstantin Shishkov * - * This file is part of Libav. + * This file is part of FFmpeg. * - * Libav is free software; you can redistribute it and/or + * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * Libav is distributed in the hope that it will be useful, + * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with Libav; if not, write to the Free Software + * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ @@ -26,6 +26,7 @@ */ #include "vc1dsp.h" +#include "libavutil/avassert.h" #include "libavutil/common.h" @@ -659,7 +660,7 @@ static void put_no_rnd_vc1_chroma_mc8_c(uint8_t *dst/*align 8*/, uint8_t *src/*a const int D=( x)*( y); int i; - assert(x<8 && y<8 && x>=0 && y>=0); + av_assert2(x<8 && y<8 && x>=0 && y>=0); for(i=0; i<h; i++) { @@ -683,7 +684,7 @@ static void put_no_rnd_vc1_chroma_mc4_c(uint8_t *dst, uint8_t *src, int stride, const int D=( x)*( y); int i; - assert(x<8 && y<8 && x>=0 && y>=0); + av_assert2(x<8 && y<8 && x>=0 && y>=0); for(i=0; i<h; i++) { @@ -704,7 +705,7 @@ static void avg_no_rnd_vc1_chroma_mc8_c(uint8_t *dst/*align 8*/, uint8_t *src/*a const int D=( x)*( y); int i; - assert(x<8 && y<8 && x>=0 && y>=0); + av_assert2(x<8 && y<8 && x>=0 && y>=0); for(i=0; i<h; i++) { |