[FFmpeg-cvslog] qpeg: remove unused var from decode_frame()

Michael Niedermayer git at videolan.org
Thu Mar 8 23:20:00 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Mar  8 23:05:25 2012 +0100| [a4524930d9299dbb8fafe165105d83bf7b6d3b89] | committer: Michael Niedermayer

qpeg: remove unused var from decode_frame()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/qpeg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c
index a0ddfae..caf28e3 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) {



More information about the ffmpeg-cvslog mailing list