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

mypopy at gmail.com mypopy at gmail.com
Mon Nov 4 04:17:00 EET 2019


On Sun, Sep 29, 2019 at 4:05 PM Zhong Li <zhong.li at intel.com> wrote:

> Signed-off-by: Zhong Li <zhong.li at intel.com>
> ---
>  libavfilter/vf_normalize.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/libavfilter/vf_normalize.c b/libavfilter/vf_normalize.c
> index 48eea59..d5cb536 100644
> --- a/libavfilter/vf_normalize.c
> +++ b/libavfilter/vf_normalize.c
> @@ -143,14 +143,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;
>          }
>      }
>
> --
>
is it base on the patch https://patchwork.ffmpeg.org/patch/13647/ ?


More information about the ffmpeg-devel mailing list