aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2021-01-29 08:54:32 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-01-05 11:05:06 +0800
commit8d4c0c8823194c71bb825f2ccd28b912f3791e08 (patch)
tree6c79bcb58a12c58e4ca6e328edb42bf88d13d2b7 /libavcodec
parent0d82613b7dcdbe9e51b77f06baa72d5715343b8f (diff)
downloadffmpeg-8d4c0c8823194c71bb825f2ccd28b912f3791e08.tar.gz
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>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/qsvdec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index 8bce9f2cf0..08370c8a0b 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -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);