[FFmpeg-devel] [PATCH] avcodec/vaapi_encode: remove a duplicate av_freep
Xiang, Haihao
haihao.xiang at intel.com
Fri Feb 23 07:14:31 EET 2024
On Di, 2024-02-20 at 14:27 +0800, tong1.wu-at-intel.com at ffmpeg.org wrote:
> From: Tong Wu <tong1.wu at intel.com>
>
> Signed-off-by: Tong Wu <tong1.wu at intel.com>
> ---
> libavcodec/vaapi_encode.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c
> index 86f4110cd2..808b79c0c7 100644
> --- a/libavcodec/vaapi_encode.c
> +++ b/libavcodec/vaapi_encode.c
> @@ -914,7 +914,6 @@ static int vaapi_encode_free(AVCodecContext *avctx,
> for (i = 0; i < pic->nb_slices; i++)
> av_freep(&pic->slices[i].codec_slice_params);
> }
> - av_freep(&pic->codec_picture_params);
>
> av_frame_free(&pic->input_image);
> av_frame_free(&pic->recon_image);
LGTM, will apply.
- Haihao
More information about the ffmpeg-devel
mailing list