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
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
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
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_mux_init.c fftools/ffmpeg_mux_init: stop modifying OptionsContext.*_disable 2022-10-25 11:12:22 +02:00
ffmpeg_opt.c 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
fftoolsres.rc
fopen_utf8.h
Makefile fftools/ffmpeg_opt: move opening output files into a new file 2022-10-18 13:57:42 +02:00
objpool.c
objpool.h
opt_common.c
opt_common.h
sync_queue.c
sync_queue.h
thread_queue.c
thread_queue.h