diff mbox series

[FFmpeg-devel,40/60] avcodec/alac: fix variable shadowing

Message ID D41CE2FHYA1C.3I7QS8RV4MAZ1@gmail.com
State New
Headers show
Series [FFmpeg-devel,01/60] fftools/ffmpeg_opt: fix variable shadowing | expand

Commit Message

Marvin Scholz Sept. 8, 2024, 10:55 p.m. UTC
---
 libavcodec/alac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)