• James Almer's avatar
    avformat: call AVOutputFormat->deinit() when freeing the context · 02cf2391
    James Almer authored
    Despite the doxy stating that it's called when the muxer is destroyed,
    this was not true in practice. It's only called by av_write_trailer()
    and on init() failure.
    
    An AVFormatContext may be closed without writing the trailer if errors
    ocurred while muxing packets, so in order to prevent memory leaks, it
    should effectively be called when freeing the muxer.
    Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
    02cf2391
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...