mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/388/head
parent
202b7a9ae7
commit
d1366c4167
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue