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

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

commit e586dd1fe57c55cafc7fd61816b7e1f01dc958a1
Author:     Priyanshu Thapliyal <[email protected]>
AuthorDate: Thu Mar 26 17:59:15 2026 +0530
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Tue May 5 18:55:09 2026 +0200

    avcodec/alsdec: fix mantissa unpacking in compressed Part A path
    
    Signed-off-by: Priyanshu Thapliyal <[email protected]>
    (cherry picked from commit ae6f233988a4128b1759ae54982d07b750b7f294)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/alsdec.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index 7fbde60681..fc10c18696 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -1529,8 +1529,12 @@ static int read_diff_float_data(ALSDecContext *ctx, 
unsigned int ra_frame) {
                     return AVERROR_INVALIDDATA;
                 }
 
+                j = 0;
                 for (i = 0; i < frame_length; ++i) {
-                    ctx->raw_mantissa[c][i] = AV_RB32(larray);
+                    if (ctx->raw_samples[c][i] == 0) {
+                        ctx->raw_mantissa[c][i] = AV_RB32(larray + j);
+                        j += 4;
+                    }
                 }
             }
         }

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

Reply via email to