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

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

commit 1aadf70740cbd66d2fec4e069d861f42b3b3bce1
Author:     James Almer <[email protected]>
AuthorDate: Wed Jul 29 21:45:37 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Thu Jul 30 21:48:24 2026 -0300

    avcodec/bsf/eac3_core: clear profile value on init()
    
    The output stream no longer has Atmos metadata, so the
    AV_PROFILE_EAC3_DDP_ATMOS profile, if it was set, is no longer valid.
    
    Signed-off-by: James Almer <[email protected]>
    (cherry picked from commit c77c0e580a39580c085b7182885601015b7f3da4)
---
 libavcodec/bsf/eac3_core.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libavcodec/bsf/eac3_core.c b/libavcodec/bsf/eac3_core.c
index 1c714b18f9..40d8cb09cf 100644
--- a/libavcodec/bsf/eac3_core.c
+++ b/libavcodec/bsf/eac3_core.c
@@ -23,6 +23,13 @@
 #include "get_bits.h"
 #include "ac3_parser_internal.h"
 
+static int eac3_core_init(AVBSFContext *ctx)
+{
+    ctx->par_out->profile = AV_PROFILE_UNKNOWN;
+
+    return 0;
+}
+
 static int eac3_core_filter(AVBSFContext *ctx, AVPacket *pkt)
 {
     AC3HeaderInfo hdr;
@@ -82,5 +89,6 @@ static const enum AVCodecID codec_ids[] = {
 const FFBitStreamFilter ff_eac3_core_bsf = {
     .p.name      = "eac3_core",
     .p.codec_ids = codec_ids,
+    .init        = eac3_core_init,
     .filter      = eac3_core_filter,
 };

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to