diff options
author | Linjie Fu <linjie.fu@intel.com> | 2018-09-19 10:01:23 +0800 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-09-23 17:46:37 +0100 |
commit | 0f9b298242ca2e1e2e4414967921463566f1dded (patch) | |
tree | bbac1008f8bd20a1d607137725f2796a4d76ca60 /libavdevice/decklink_common.cpp | |
parent | d5451a9b07f79dd84c8376519712866581fbf029 (diff) | |
download | ffmpeg-0f9b298242ca2e1e2e4414967921463566f1dded.tar.gz |
avcodec/vaapi: free slice_buffers when decoding failed
If vaEndPicture() failed in ff_vaapi_decode_issue(), free
the pic->slice_buffers.
Fixes the memory leak issue in ticket #7385
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavdevice/decklink_common.cpp')
0 files changed, 0 insertions, 0 deletions