ffmpeg | branch: master | Haihao Xiang <haihao.xi...@intel.com> | Fri Jan 29 08:54:32 2021 +0800| [8d4c0c8823194c71bb825f2ccd28b912f3791e08] | committer: Haihao Xiang
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.xi...@intel.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d4c0c8823194c71bb825f2ccd28b912f3791e08 --- libavcodec/qsvdec.c | 2 -- 1 file changed, 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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".