Files
FFmpeg/libavformat
Andreas Rheinhardt 1889e3166c libavformat/mux: Fix audio_preload
Commit 31f9032b added the audio_preload feature; its goal is to
interleave audio earlier than the rest. Unfortunately, it has never ever
worked, because the check for whether a packet should be interleaved
before or after another packet was completely wrong: When audio_preload
vanishes, interleave_compare_dts returns 1 if the new packet should be
interleaved earlier than the packet it is compared with and that is what
the rest of the code expects. But the codepath used when audio_preload is
set does the opposite.

Also fixes potential undefined behaviour (namely signed integer
overflow).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-06-26 19:05:29 +02: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
2018-05-06 15:07:28 +08:00
2019-05-04 12:03:24 +05:30
2017-09-20 03:31:48 +02:00
2017-10-19 22:07:21 +02:00
2017-09-01 18:52:56 +08:00
2019-03-20 18:38:48 +01:00
2019-05-20 11:58:12 -07:00
2019-06-14 13:21:38 +08:00
2016-05-04 18:16:21 +02:00
2019-06-26 19:05:29 +02:00
2019-05-20 11:58:12 -07:00
2019-06-10 21:35:20 +02:00
2018-09-11 21:48:49 +01:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2019-06-12 20:06:20 +10: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
2018-03-07 22:26:53 +01:00
2017-01-30 11:00:58 +01:00
2016-05-03 15:45:10 +02:00
2019-06-26 19:05:29 +02:00
2019-06-14 21:36:39 +02:00
2019-06-21 18:28:00 +02:00