You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/dxa: Remove set-but-unused variable
Forgotten in 6e80ec9dc5
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -213,7 +213,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
unsigned long dsize;
|
unsigned long dsize;
|
||||||
int i, j, compr, ret;
|
int i, j, compr, ret;
|
||||||
int stride;
|
int stride;
|
||||||
int pc = 0;
|
|
||||||
GetByteContext gb;
|
GetByteContext gb;
|
||||||
|
|
||||||
bytestream2_init(&gb, avpkt->data, avpkt->size);
|
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++){
|
for(i = 0; i < 256; i++){
|
||||||
c->pal[i] = 0xFFU << 24 | bytestream2_get_be24(&gb);
|
c->pal[i] = 0xFFU << 24 | bytestream2_get_be24(&gb);
|
||||||
}
|
}
|
||||||
pc = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((ret = ff_get_buffer(avctx, frame, AV_GET_BUFFER_FLAG_REF)) < 0)
|
if ((ret = ff_get_buffer(avctx, frame, AV_GET_BUFFER_FLAG_REF)) < 0)
|
||||||
|
Reference in New Issue
Block a user