This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 00b4d678120b7adde95a207a6beaa1578eeb6949 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Jan 20 04:16:43 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Feb 5 18:01:31 2026 +0100 avformat/demux: Allow non opened codec in has_decode_delay_been_guessed() Fixes: assertion failure Fixes: 472097507/clusterfuzz-testcase-minimized-ffmpeg_dem_LIVE_FLV_fuzzer-6016386662203392 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/demux.c b/libavformat/demux.c index c68334e1ab..4e983f0703 100644 --- a/libavformat/demux.c +++ b/libavformat/demux.c @@ -762,7 +762,7 @@ static int has_decode_delay_been_guessed(AVStream *st) if (st->codecpar->codec_id != AV_CODEC_ID_H264) return 1; if (!sti->info) // if we have left find_stream_info then nb_decoded_frames won't increase anymore for stream copy return 1; - av_assert0(sti->avctx->codec_id == AV_CODEC_ID_H264); + av_assert0(sti->avctx->codec_id == AV_CODEC_ID_H264 || (sti->avctx->codec_id == AV_CODEC_ID_NONE && !avcodec_is_open(sti->avctx))); #if CONFIG_H264_DECODER if (sti->avctx->has_b_frames && avcodec_is_open(sti->avctx) && avpriv_h264_has_num_reorder_frames(sti->avctx) == sti->avctx->has_b_frames) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
