diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-13 20:27:34 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-18 02:50:34 +0200 |
commit | ce482266a641a2cbd2900c0c2e4afb24f26cc422 (patch) | |
tree | 0b009ac5027c82aec473b9ca4cc451f396f621fd /libavcodec/atrac1.c | |
parent | acda9ff6ce2b94a199a6967118fa19d58a09c146 (diff) | |
download | ffmpeg-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 'libavcodec/atrac1.c')
0 files changed, 0 insertions, 0 deletions