[FFmpeg-cvslog] avcodec/vp9dsp: remove unused stride parameter in loop_filter().

Clément Bœsch git at videolan.org
Sat Nov 23 22:21:45 CET 2013


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sat Nov 23 21:42:24 2013 +0100| [bea93944653f5f9270b5d200b11b2c64fe472914] | committer: Clément Bœsch

avcodec/vp9dsp: remove unused stride parameter in loop_filter().

The stride argument is passed either as stridea or strideb.

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

 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) \



More information about the ffmpeg-cvslog mailing list