diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-05-29 21:07:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-30 00:24:01 +0200 |
commit | adba9c63525b8971fc6ccda47e643dca05c3ee9d (patch) | |
tree | 7f4521c4ceaf684a4cdc4f8b57db30a4364c35e0 /libavcodec/sp5xdec.c | |
parent | fd38a15adf7f4e20f25d89f162e4a8fbbd8ec92e (diff) | |
download | ffmpeg-adba9c63525b8971fc6ccda47e643dca05c3ee9d.tar.gz |
Fix various unused variable warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/sp5xdec.c')
-rw-r--r-- | libavcodec/sp5xdec.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; |