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 d1bcaab230 avcodec/alsdec: preserve full float value in zero-truncated 
samples
d1bcaab230 is described below

commit d1bcaab230917250455bc66cefa05b7e77a651ef
Author:     Priyanshu Thapliyal <[email protected]>
AuthorDate: Fri Mar 27 14:22:45 2026 +0530
Commit:     michaelni <[email protected]>
CommitDate: Sat Mar 28 12:18:37 2026 +0000

    avcodec/alsdec: preserve full float value in zero-truncated samples
    
    Signed-off-by: Priyanshu Thapliyal <[email protected]>
---
 libavcodec/alsdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index a156c90390..bf1b453dbb 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -1638,7 +1638,7 @@ static int read_diff_float_data(ALSDecContext *ctx, 
unsigned int ra_frame) {
                 tmp_32 = (sign << 31) | ((e + EXP_BIAS) << 23) | (mantissa);
                 ctx->raw_samples[c][i] = tmp_32;
             } else {
-                ctx->raw_samples[c][i] = raw_mantissa[c][i] & 0x007fffffUL;
+                ctx->raw_samples[c][i] = raw_mantissa[c][i];
             }
         }
         align_get_bits(gb);

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

Reply via email to