1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/fftools
Derek Buitenhuis d1366c4167 fftools/ffprobe: Loop over correct number of streams when flushing decoders
Some formats like FLV can dynamically add streams during packet reading.
FFprobe does check for this and reallocates the global stream info, but does
not reallocate InputFrame's streams and decoders when this happens, which,
as a result, could have caused flushing to occur on an out of bounds stream
index, since the flush loop iterates over fmt_ctx's nb_streams, and not
ifile's, despite using ifile's streams.

This fixes an out of bounds read and segfult.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2022-11-07 16:13:45 +00:00
..
cmdutils.c fftools/cmdutils: Use av_err2str 2022-10-14 12:19:13 +02:00
cmdutils.h fftools/cmdutils: Add function to report error before exit 2022-09-01 14:21:56 +02:00
ffmpeg_demux.c ffmpeg: fix implementation of updated input start time 2022-11-03 14:38:42 +05:30
ffmpeg_filter.c fftools/ffmpeg: remove the output_streams global 2022-10-18 13:57:43 +02:00
ffmpeg_hw.c fftools/ffmpeg: drop OutputStream.enc 2022-08-29 15:42:11 +02:00
ffmpeg_mux_init.c fftools/ffmpeg_mux_init: stop modifying OptionsContext.*_disable 2022-10-25 11:12:22 +02:00
ffmpeg_mux.c fftools/ffmpeg: set thread names 2022-10-24 02:00:31 +02:00
ffmpeg_mux.h fftools/ffmpeg_mux: move muxing queue fields from OutputStream to MuxStream 2022-10-18 14:19:11 +02:00
ffmpeg_opt.c ffmpeg: fix implementation of updated input start time 2022-11-03 14:38:42 +05:30
ffmpeg.c ffmpeg: fix implementation of updated input start time 2022-11-03 14:38:42 +05:30
ffmpeg.h ffmpeg: fix implementation of updated input start time 2022-11-03 14:38:42 +05:30
ffplay.c fftools/ffplay: fix rotation incorrect when frame contains the displaymatrix 2022-09-15 16:16:16 +08:00
ffprobe.c fftools/ffprobe: Loop over correct number of streams when flushing decoders 2022-11-07 16:13:45 +00:00
fftools.manifest fftools: add DPI awareness manifest 2022-08-13 14:42:52 +02:00
fftoolsres.rc fftools: add DPI awareness manifest 2022-08-13 14:42:52 +02:00
fopen_utf8.h fftools/fopen_utf8: support long paths on Windows for fftools 2022-06-19 01:38:23 +03:00
Makefile fftools/ffmpeg_opt: move opening output files into a new file 2022-10-18 13:57:42 +02:00
objpool.c fftools/objpool: Don't use return with expression when returning void 2022-07-23 18:58:35 +02:00
objpool.h fftools: add an object pool 2022-07-23 11:53:19 +02:00
opt_common.c fftools/opt_common: check the return value of av_hwdevice_get_type_name before printing it 2022-09-14 09:54:19 -03:00
opt_common.h fftools/cmdutils: split common option handlers into their own file 2022-03-22 18:49:43 +01:00
sync_queue.c fftools/ffmpeg: replace AVFrame.pkt_duration with duration 2022-07-24 08:46:16 +02:00
sync_queue.h fftools/ffmpeg: use the sync queues to handle -frames 2022-07-23 11:53:19 +02:00
thread_queue.c fftools: add a multistream thread-safe queue 2022-07-23 11:53:19 +02:00
thread_queue.h fftools: add a multistream thread-safe queue 2022-07-23 11:53:19 +02:00