lavc/qsvdec: needn't free the string for AV_OPT_TYPE_STRING AVOption

The string for AV_OPT_TYPE_STRING AVOption gets freed by av_opt_free()
when closing the AVCodecContext

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
This commit is contained in:
Haihao Xiang 2021-01-29 08:54:32 +08:00
parent 0d82613b7d
commit 8d4c0c8823
1 changed files with 0 additions and 2 deletions

View File

@ -754,8 +754,6 @@ static av_cold int qsv_decode_close(AVCodecContext *avctx)
{
QSVDecContext *s = avctx->priv_data;
av_freep(&s->qsv.load_plugins);
qsv_decode_close_qsvcontext(&s->qsv);
qsv_clear_buffers(s);