aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-13 20:27:34 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-18 02:50:34 +0200
commitce482266a641a2cbd2900c0c2e4afb24f26cc422 (patch)
tree0b009ac5027c82aec473b9ca4cc451f396f621fd /libavutil/hwcontext.h
parentacda9ff6ce2b94a199a6967118fa19d58a09c146 (diff)
downloadffmpeg-ce482266a641a2cbd2900c0c2e4afb24f26cc422.tar.gz
avcodec/alacenc: Don't free unnecessarily
The init function of the ALAC encoder calls its own close function if a call to ff_lpc_init() fails; yet nothing has been allocated before that point (except extradata which is freed generically) and ff_lpc_init() can be expected to clean up after itself on error (the documentation does not say anything to the contrary and the current implementation can only fail if the only allocation fails, so there is nothing to clean up on error anyway), so this is unnecessary. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/hwcontext.h')
0 files changed, 0 insertions, 0 deletions