1
0
Fork 0

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
1 changed files with 0 additions and 1 deletions

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