From adba9c63525b8971fc6ccda47e643dca05c3ee9d Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Sun, 29 May 2011 21:07:34 +0200 Subject: Fix various unused variable warnings Signed-off-by: Michael Niedermayer --- libavcodec/sp5xdec.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavcodec/sp5xdec.c') diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c index 1af978f21b..0b56c101db 100644 --- a/libavcodec/sp5xdec.c +++ b/libavcodec/sp5xdec.c @@ -38,15 +38,12 @@ static int sp5x_decode_frame(AVCodecContext *avctx, int buf_size = avpkt->size; AVPacket avpkt_recoded; const int qscale = 5; - const uint8_t *buf_ptr; uint8_t *recoded; int i = 0, j = 0; if (!avctx->width || !avctx->height) return -1; - buf_ptr = buf; - recoded = av_mallocz(buf_size + 1024); if (!recoded) return -1; -- cgit v1.2.3