[FFmpeg-devel] [PATCH V2] avcodec/vaapi:free slice_buffers when decoding failed
Mark Thompson
sw at jkqxz.net
Sun Sep 23 19:47:43 EEST 2018
On 19/09/18 03:01, Linjie Fu wrote:
> If vaEndPicture failed in ff_vaapi_decode_issue, free
> the pic->slice_buffer.
>
> Fix the memory leak issue in ticket #7385
>
> [V2] unit the return paths under the "exit" tag at
> the end of the function.
>
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> ---
> libavcodec/vaapi_decode.c | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)
Tested and applied.
Thanks,
- Mark
More information about the ffmpeg-devel
mailing list