From a4524930d9299dbb8fafe165105d83bf7b6d3b89 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 8 Mar 2012 23:05:25 +0100 Subject: [PATCH] qpeg: remove unused var from decode_frame() Signed-off-by: Michael Niedermayer --- libavcodec/qpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c index a0ddfae647..caf28e3fbc 100644 --- a/libavcodec/qpeg.c +++ b/libavcodec/qpeg.c @@ -257,7 +257,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame * p = &a->pic; AVFrame * ref= &a->ref; uint8_t* outdata; - int delta, ret = 0; + int delta; const uint8_t *pal = av_packet_get_side_data(avpkt, AV_PKT_DATA_PALETTE, NULL); if (avpkt->size < 0x86) {