From a3466b54d882421b58b73f5d7d98ecd6ca4e4122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Sat, 23 Nov 2013 21:42:24 +0100 Subject: [PATCH] avcodec/vp9dsp: remove unused stride parameter in loop_filter(). The stride argument is passed either as stridea or strideb. --- libavcodec/vp9dsp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/vp9dsp.c b/libavcodec/vp9dsp.c index 203088c..ec0b411 100644 --- a/libavcodec/vp9dsp.c +++ b/libavcodec/vp9dsp.c @@ -1476,8 +1476,7 @@ static av_cold void vp9dsp_itxfm_init(VP9DSPContext *dsp) #undef init_idct } -static av_always_inline void loop_filter(uint8_t *dst, ptrdiff_t stride, - int E, int I, int H, +static av_always_inline void loop_filter(uint8_t *dst, int E, int I, int H, ptrdiff_t stridea, ptrdiff_t strideb, int wd) { @@ -1589,7 +1588,7 @@ static void loop_filter_##dir##_##wd##_8_c(uint8_t *dst, \ ptrdiff_t stride, \ int E, int I, int H) \ { \ - loop_filter(dst, stride, E, I, H, stridea, strideb, wd); \ + loop_filter(dst, E, I, H, stridea, strideb, wd); \ } #define lf_8_fns(wd) \ -- 1.8.4.2