ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | 
Sat Mar 29 02:07:32 2025 +0100| [948a78365b1bd252767090d5778b12abd583abc1] | 
committer: Andreas Rheinhardt

avcodec/dxa: Remove set-but-unused variable

Forgotten in 6e80ec9dc5d7ea83c3abac641aa08ad7849c9e98.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=948a78365b1bd252767090d5778b12abd583abc1
---

 libavcodec/dxa.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c
index 3a53d3496e..5b429781df 100644
--- a/libavcodec/dxa.c
+++ b/libavcodec/dxa.c
@@ -213,7 +213,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame 
*frame,
     unsigned long dsize;
     int i, j, compr, ret;
     int stride;
-    int pc = 0;
     GetByteContext gb;
 
     bytestream2_init(&gb, avpkt->data, avpkt->size);
@@ -224,7 +223,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame 
*frame,
         for(i = 0; i < 256; i++){
             c->pal[i] = 0xFFU << 24 | bytestream2_get_be24(&gb);
         }
-        pc = 1;
     }
 
     if ((ret = ff_get_buffer(avctx, frame, AV_GET_BUFFER_FLAG_REF)) < 0)

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to