1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avcodec/vaapi_encode: remove a duplicate av_freep

Signed-off-by: Tong Wu <tong1.wu@intel.com>
This commit is contained in:
Tong Wu 2024-02-20 14:27:54 +08:00 committed by Haihao Xiang
parent 8b6219a99d
commit cfa802bdc3

View File

@ -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);