[FFmpeg-devel] [PATCH 1/2] avformat/utils: Change compute_chapters_end() from O(n²) to O(n log n)

Michael Niedermayer michael at niedermayer.cc
Fri Jan 8 20:22:39 EET 2021


On Fri, Dec 04, 2020 at 11:21:22AM +0100, Anton Khirnov wrote:
> Quoting Michael Niedermayer (2020-11-22 16:37:32)
> > Fixes: Timeout (49sec -> 9sec)
> > Fixes: 27427/clusterfuzz-testcase-minimized-ffmpeg_dem_FFMETADATA_fuzzer-5140589838073856
> > 
> > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> 
> Not objecting to the patch itself, but just wondering: do we actually
> want to compute chapter ends when the file doesn't store them?
> I can imagine users might want to distinguish whether the end time is
> explicitly specified or not.

seems noone had a comment so ill apply the patch

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210108/f396ba2f/attachment.sig>


More information about the ffmpeg-devel mailing list