diff options
author | Wenbin Chen <wenbin.chen-at-intel.com@ffmpeg.org> | 2022-01-20 15:13:43 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-01-24 10:18:11 +0800 |
commit | 05ba0ffca9b4c28e08fdd8086218c0075537125c (patch) | |
tree | 6e6b0d303d02bdb603ac801e26fe1021a54fe78a /libavformat/ipmovie.c | |
parent | 3d29724c008d8f27fecf85757152789b074e8ef9 (diff) | |
download | ffmpeg-05ba0ffca9b4c28e08fdd8086218c0075537125c.tar.gz |
libavcodec/qsvenc: fix a memory leak problem
"qf->frame" ref to input frame but it isn't released. av_frame_unref()
is added before refering qf->frame to new frame to make sure the previous
reference is released.
Reported-by: Mark Samuelson <Mark.Samuelson@sonicfoundry.com>
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavformat/ipmovie.c')
0 files changed, 0 insertions, 0 deletions