[FFmpeg-devel] [PATCH 40/60] avcodec/alac: fix variable shadowing
Marvin Scholz
epirat07 at gmail.com
Mon Sep 9 01:55:13 EEST 2024
---
libavcodec/alac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index f91288e97c..7916a006c2 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -331,7 +331,7 @@ static int decode_element(AVCodecContext *avctx, AVFrame *frame, int ch_index,
}
}
for (ch = 0; ch < channels; ch++) {
- int ret = rice_decompress(alac, alac->predict_error_buffer[ch],
+ ret = rice_decompress(alac, alac->predict_error_buffer[ch],
alac->nb_samples, bps,
rice_history_mult[ch] * alac->rice_history_mult / 4);
if (ret < 0)
--
2.39.3 (Apple Git-146)
More information about the ffmpeg-devel
mailing list