mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
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:
parent
0d82613b7d
commit
8d4c0c8823
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user