Janne Grunau <[email protected]> writes:

> Does not make a difference in this case since sizeof(uint8_t*) ==
> sizeof(uint8_t**). Fixes CID703814.
> ---
>  libavfilter/buffer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/buffer.c b/libavfilter/buffer.c
> index c939388..439425a 100644
> --- a/libavfilter/buffer.c
> +++ b/libavfilter/buffer.c
> @@ -146,7 +146,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const 
> AVFilterBufferRef *src)
>              if (!dst->extended_data)
>                  return AVERROR(ENOMEM);
>              memcpy(dst->extended_data, src->extended_data,
> -                   planes * sizeof(dst->extended_data));
> +                   planes * sizeof(*dst->extended_data));
>          } else
>              dst->extended_data = dst->data;
>
> -- 

LGTM

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to