diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-10-23 13:46:46 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-30 08:24:09 +0200 |
commit | 09bac9009ea5fd1b458fe1567bd95a9948c44508 (patch) | |
tree | 83ae18cda15da82324476d4b55e51d74894fec2a /libavcodec/get_bits.h | |
parent | 7afd34050c1190e59e572a7882916a7dd4670d55 (diff) | |
download | ffmpeg-09bac9009ea5fd1b458fe1567bd95a9948c44508.tar.gz |
avformat/hdsenc: Add explicit deinit function
hdsenc already had an explicit function to free all allocations in case
of an error, but it was not marked as deinit function, so that it was
not called automatically when the AVFormatContext for muxing gets freed.
Using an explicit deinit function also makes the code cleaner by
allowing to return immediately without "goto fail".
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/get_bits.h')
0 files changed, 0 insertions, 0 deletions