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 e4fa18c220 avcodec/libmpeghdec: don't use extradata for streams with
in-band config configuration
e4fa18c220 is described below
commit e4fa18c2206bb626ab5ad76c8fb055cf8fa26ba1
Author: James Almer <[email protected]>
AuthorDate: Wed Sep 30 13:39:50 2026 -0300
Commit: James Almer <[email protected]>
CommitDate: Wed Sep 30 13:40:35 2026 -0300
avcodec/libmpeghdec: don't use extradata for streams with in-band config
configuration
The decoder seems to accept it but then will not output any frame at all.
Signed-off-by: James Almer <[email protected]>
---
libavcodec/libmpeghdec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/libmpeghdec.c b/libavcodec/libmpeghdec.c
index 49e7a5b1ec..29627b8f52 100644
--- a/libavcodec/libmpeghdec.c
+++ b/libavcodec/libmpeghdec.c
@@ -114,7 +114,8 @@ static av_cold int mpegh3dadec_init(AVCodecContext *avctx)
return AVERROR_EXTERNAL;
}
- if (avctx->extradata_size) {
+ if (avctx->codec_tag != MKTAG('m', 'h', 'm', '1') &&
+ avctx->codec_tag != MKTAG('m', 'h', 'm', '2') &&
avctx->extradata_size) {
if (mpeghdecoder_setMhaConfig(s->decoder, avctx->extradata,
avctx->extradata_size)) {
av_log(avctx, AV_LOG_ERROR, "Unable to set MHA configuration\n");
--
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]