aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-08 23:05:25 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-08 23:05:25 +0100
commita4524930d9299dbb8fafe165105d83bf7b6d3b89 (patch)
tree031a72ea35f62189f79b940a2bcdbd213560ff3a /libavcodec/qpeg.c
parent4916a8fc44e8bb0c3e6bd8619b4b5b87b75bbb71 (diff)
downloadffmpeg-a4524930d9299dbb8fafe165105d83bf7b6d3b89.tar.gz
qpeg: remove unused var from decode_frame()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/qpeg.c')
-rw-r--r--libavcodec/qpeg.c2
1 files changed, 1 insertions, 1 deletions
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) {