1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-08 16:54:03 +02:00
FFmpeg/libavformat
James Almer 02cf239196 avformat: call AVOutputFormat->deinit() when freeing the context
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: James Almer <jamrial@gmail.com>
2019-10-21 17:20:20 -03:00
..
2016-07-03 04:37:48 +02:00
2019-05-20 11:58:12 -07:00
2019-05-20 11:58:12 -07:00
2017-09-20 03:31:48 +02:00
2019-08-13 15:38:57 +02:00
2017-09-01 18:52:56 +08:00
2019-03-20 18:38:48 +01:00
2019-08-23 22:24:07 +02:00
2019-05-20 11:58:12 -07:00
2019-09-02 23:08:43 +02:00
2019-10-08 13:47:16 +08:00
2019-05-20 11:58:12 -07:00
2019-09-27 12:15:50 +02:00
2019-09-02 23:08:43 +02:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2017-04-25 15:39:10 +02:00
2018-05-21 19:43:04 -03:00
2018-05-21 19:43:04 -03:00
2019-03-20 18:38:48 +01:00
2017-01-30 11:00:58 +01:00
2016-05-03 15:45:10 +02:00
2019-10-08 13:46:42 +08:00
2019-06-14 21:36:39 +02:00
2019-06-29 19:22:19 +02:00
2019-07-14 22:17:43 +02:00