aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/smush.c
diff options
context:
space:
mode:
authorWenbin Chen <wenbin.chen-at-intel.com@ffmpeg.org>2022-01-20 15:13:43 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-01-24 10:18:11 +0800
commit05ba0ffca9b4c28e08fdd8086218c0075537125c (patch)
tree6e6b0d303d02bdb603ac801e26fe1021a54fe78a /libavformat/smush.c
parent3d29724c008d8f27fecf85757152789b074e8ef9 (diff)
downloadffmpeg-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/smush.c')
0 files changed, 0 insertions, 0 deletions