[FFmpeg-cvslog] lavfi/normalize: remove the unused pointer

Zhong Li git at videolan.org
Tue Oct 8 05:39:00 EEST 2019


ffmpeg | branch: master | Zhong Li <zhong.li at intel.com> | Sun Sep 29 16:05:51 2019 +0800| [8df91de9aa263df77bd3f59a65355a1ccca83f0c] | committer: Zhong Li

lavfi/normalize: remove the unused pointer

Signed-off-by: Zhong Li <zhong.li at intel.com>

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

 libavfilter/vf_normalize.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavfilter/vf_normalize.c b/libavfilter/vf_normalize.c
index c955aeb7d2..4a96088ee5 100644
--- a/libavfilter/vf_normalize.c
+++ b/libavfilter/vf_normalize.c
@@ -147,14 +147,12 @@ static void normalize(NormalizeContext *s, AVFrame *in, AVFrame *out)
         min[c].in = max[c].in = in->data[0][s->co[c]];
     for (y = 0; y < in->height; y++) {
         uint8_t *inp = in->data[0] + y * in->linesize[0];
-        uint8_t *outp = out->data[0] + y * out->linesize[0];
         for (x = 0; x < in->width; x++) {
             for (c = 0; c < 3; c++) {
                 min[c].in = FFMIN(min[c].in, inp[s->co[c]]);
                 max[c].in = FFMAX(max[c].in, inp[s->co[c]]);
             }
             inp += s->step;
-            outp += s->step;
         }
     }
 



More information about the ffmpeg-cvslog mailing list