aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/siren.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-12 23:56:50 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-17 00:09:08 +0200
commit8bbd97109c993b50a00a88f2b773252ed1b83fc0 (patch)
tree263ffc8a99206ef84985cb9dd1092f9a32dcb41d /libavcodec/siren.c
parent2a71cbeb019fabd70f04ca9d2ec5d0bff3b3e3d2 (diff)
downloadffmpeg-8bbd97109c993b50a00a88f2b773252ed1b83fc0.tar.gz
avcodec/ra144enc: Don't free unnecessarily
The init function of the real_144 encoder calls its own close function if a call to ff_lpc_init() fails; yet nothing has been allocated before that point 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. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/siren.c')
0 files changed, 0 insertions, 0 deletions