This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch release/9.0
in repository ffmpeg.
The following commit(s) were added to refs/heads/release/9.0 by this push:
new 9b0578816c avcodec/bsf/dca_core: clear profile value on init()
9b0578816c is described below
commit 9b0578816c6f94514d330d4f2ae7e44a9fb42692
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:57 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 a239e7fa07..12a46714b5 100644
--- a/libavcodec/bsf/dca_core.c
+++ b/libavcodec/bsf/dca_core.c
@@ -23,6 +23,13 @@
#include "libavcodec/bytestream.h"
#include "libavcodec/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]