1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavformat
Martin Storsjö cf402d6fa8 rtpenc_mpegts: Set chain->rtp_ctx only after avformat_write_header succeeded
By making sure we at each time only have one pointer set, either a
local variable or one in the context, we avoid potential double frees
in the cleanup routines. If chain->rtp_ctx is set, it is closed by
calling avformat_write_trailer, but that shouldn't be called unless
avformat_write_header succeeded.

This issue was pointed out by Andreas Cadhalpun.

Signed-off-by: Martin Storsjö <martin@martin.st>
2015-03-10 09:58:41 +02:00
..
2014-07-29 17:47:32 +02:00
2015-02-19 12:05:19 -05:00
2015-02-15 18:20:54 +01:00
2014-10-20 10:38:38 +01:00
2014-09-25 01:44:31 -07:00
2015-02-19 12:05:19 -05:00
2014-10-24 09:53:45 +03:00
2014-10-20 10:38:37 +01:00
2014-12-08 13:53:30 +00:00
2014-09-25 01:44:32 -07:00
2014-09-25 01:58:51 -07:00
2014-12-07 21:50:47 +01:00
2014-08-26 03:43:13 +02:00
2014-08-05 11:30:50 +02:00
2014-08-17 16:11:16 +02:00
2014-08-17 16:11:02 +02:00
2015-02-17 12:16:43 -05:00
2014-12-18 23:27:07 +01:00
2015-02-15 18:20:54 +01:00
2015-02-07 15:36:15 +01:00
2015-02-22 22:42:27 +00:00
2015-03-08 02:35:04 +00:00
2015-03-05 15:51:05 +01:00
2014-11-28 20:56:45 +02:00
2014-12-18 23:11:37 +02:00
2015-02-24 23:07:50 +02:00
2015-02-21 23:37:24 +02:00
2015-02-23 16:55:56 +02:00
2014-10-24 09:53:45 +03:00
2014-12-18 23:11:37 +02:00
2014-11-24 01:30:15 +00:00
2014-12-18 11:58:23 +02:00