avcodec/proresenc_anatoliy: Fix memleak upon init error
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 27 Nov 2020 14:08:00 +0000 (15:08 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 2 Apr 2021 19:43:27 +0000 (21:43 +0200)
commitaffb55d4b42a61b8a92a549fa805434874bc69b5
tree50d7d31e50a3da5cdb2b8197c42688d7213779d5
parent60433ae94fc53cb694150ad79263e2074b6a56ef
avcodec/proresenc_anatoliy: Fix memleak upon init error

A buffer may leak in case of YUVA444P10 with dimensions that are not
both divisible by 16.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit d789d72d30d8cb6c0a9b5b1140589da1eae44e1e)
libavcodec/proresenc_anatoliy.c