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 ae6f233988 avcodec/alsdec: fix mantissa unpacking in compressed Part A 
path
ae6f233988 is described below

commit ae6f233988a4128b1759ae54982d07b750b7f294
Author:     Priyanshu Thapliyal <[email protected]>
AuthorDate: Thu Mar 26 17:59:15 2026 +0530
Commit:     michaelni <[email protected]>
CommitDate: Thu Mar 26 16:25:09 2026 +0000

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

diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index e91ff57b03..242080a96d 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -1548,8 +1548,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