[ffmpeg] avformat/cafdec: parse non-intra streams (branch master)
This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg. The following commit(s) were added to refs/heads/master by this push: new 50bcc96a75 avformat/cafdec: parse non-intra streams 50bcc96a75 is described below commit 50bcc96a75e40ee6978941d9e0dbb8819e905eca Author: Gyan Doshi <ffmpeg@gyani.pro> AuthorDate: Sun Jan 25 16:12:39 2026 +0530 Commit: James Almer <jamrial@gmail.com> CommitDate: Fri Jan 30 16:59:53 2026 +0000 avformat/cafdec: parse non-intra streams Needed to set KF flags so that they can be streamcopied using CLI. --- libavformat/cafdec.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index f0f307177b..d00b39adf0 100644 --- a/libavformat/cafdec.c +++ b/libavformat/cafdec.c @@ -28,6 +28,7 @@ #include <inttypes.h> #include "avformat.h" +#include "avformat_internal.h" #include "avio_internal.h" #include "demux.h" #include "internal.h" @@ -439,6 +440,9 @@ found_data: if (caf->data_size >= 0) avio_seek(pb, caf->data_start, SEEK_SET); + if (!ff_is_intra_only(st->codecpar->codec_id)) + ffstream(st)->need_parsing = AVSTREAM_PARSE_HEADERS; + return 0; }
participants (1)
-
Gyan Doshi