Change #286589
| Category | ffmpeg |
| Changed by | Kacper Michajłow <kasper93@gmail.com> |
| Changed at | Fri 16 Oct 2026 23:17:22 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | c37079067e160a165f7f3b3ce93ce6c480b0d700 |
Comments
avformat: skip the program lookup in av_new_program() for monotonic ids Track whether the program ids are strictly increasing, like avpriv_new_chapter() does, and skip the scan of the existing programs when the new id is above the last one. Fixes: Timeout (7s -> 240ms) Fixes: clusterfuzz-testcase-ffmpeg_dem_HLS_fuzzer-5202060644253696 Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Changed files
- libavformat/avformat.c
- libavformat/internal.h