This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/8.0
in repository ffmpeg.

The following commit(s) were added to refs/heads/release/8.0 by this push:
     new 322ca5a5dd avcodec/bsf/dca_core: clear profile value on init()
322ca5a5dd is described below

commit 322ca5a5dd0b12491f239ffd225d18d7c855cbed
Author:     James Almer <[email protected]>
AuthorDate: Sun Sep 6 18:17:13 2026 -0300
Commit:     ffmpeg-devel <[email protected]>
CommitDate: Sun Sep 6 23:19:40 2026 +0000

    avcodec/bsf/dca_core: clear profile value on init()
    
    The output stream no longer has extension sub-streams, so the
    declared input profile, if it was set, is no longer valid.
    
    Fixes issue #24388.
    
    Signed-off-by: James Almer <[email protected]>
    (cherry picked from commit 7dc71230a965c5938a0947408dc4ec7c8b9fe4ca)
---
 libavcodec/bsf/dca_core.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libavcodec/bsf/dca_core.c b/libavcodec/bsf/dca_core.c
index 1a2db39cba..b2b9397433 100644
--- a/libavcodec/bsf/dca_core.c
+++ b/libavcodec/bsf/dca_core.c
@@ -23,6 +23,13 @@
 #include "bytestream.h"
 #include "dca_syncwords.h"
 
+static int dca_core_init(AVBSFContext *ctx)
+{
+    ctx->par_out->profile = AV_PROFILE_UNKNOWN;
+
+    return 0;
+}
+
 static int dca_core_filter(AVBSFContext *ctx, AVPacket *pkt)
 {
     GetByteContext gb;
@@ -57,5 +64,6 @@ static const enum AVCodecID codec_ids[] = {
 const FFBitStreamFilter ff_dca_core_bsf = {
     .p.name      = "dca_core",
     .p.codec_ids = codec_ids,
+    .init        = dca_core_init,
     .filter      = dca_core_filter,
 };

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to