diff mbox series

[FFmpeg-devel] avcodec/flacdec: Remove unused variable

Message ID AS8P250MB07443610865A786742E0F17F8FF52@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit aff24c165827ad05d720491b4a96dbf6a61f4937
Headers show
Series [FFmpeg-devel] avcodec/flacdec: Remove unused variable | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt May 24, 2024, 3:37 p.m. UTC
Forgotten in 0380a03f1f9d55e5690bb92bfa4897f2c728c1e5.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/flacdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

James Almer May 24, 2024, 4:55 p.m. UTC | #1
On 5/24/2024 12:37 PM, Andreas Rheinhardt wrote:
> Forgotten in 0380a03f1f9d55e5690bb92bfa4897f2c728c1e5.

LGTM. And sorry, i was sure i had amended it locally when you pointed it 
out.

> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>   libavcodec/flacdec.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
> index 460d3bc01e..ad921a1bd1 100644
> --- a/libavcodec/flacdec.c
> +++ b/libavcodec/flacdec.c
> @@ -481,7 +481,7 @@ static int decode_subframe_lpc(FLACContext *s, int32_t *decoded, int pred_order,
>   static int decode_subframe_lpc_33bps(FLACContext *s, int64_t *decoded,
>                                        int32_t *residual, int pred_order)
>   {
> -    int i, j, ret;
> +    int i, ret;
>       int coeff_prec, qlevel;
>       int coeffs[32];
>
diff mbox series

Patch

diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index 460d3bc01e..ad921a1bd1 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -481,7 +481,7 @@  static int decode_subframe_lpc(FLACContext *s, int32_t *decoded, int pred_order,
 static int decode_subframe_lpc_33bps(FLACContext *s, int64_t *decoded,
                                      int32_t *residual, int pred_order)
 {
-    int i, j, ret;
+    int i, ret;
     int coeff_prec, qlevel;
     int coeffs[32];