qpeg: remove unused var from decode_frame()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 8 Mar 2012 22:05:25 +0000 (23:05 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 8 Mar 2012 22:05:25 +0000 (23:05 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/qpeg.c

index a0ddfae..caf28e3 100644 (file)
@@ -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) {