comparison sunrast.c @ 9385:6cd9e789dd9e libavcodec

Remove unused variables along with the related warnings.
author diego
date Fri, 10 Apr 2009 11:33:14 +0000
parents 54bc8a2727b0
children 6a3f4053d935
comparison
equal deleted inserted replaced
9384:828d15d322ed 9385:6cd9e789dd9e
43 } 43 }
44 44
45 static int sunrast_decode_frame(AVCodecContext *avctx, void *data, 45 static int sunrast_decode_frame(AVCodecContext *avctx, void *data,
46 int *data_size, AVPacket *avpkt) { 46 int *data_size, AVPacket *avpkt) {
47 const uint8_t *buf = avpkt->data; 47 const uint8_t *buf = avpkt->data;
48 int buf_size = avpkt->size;
49 SUNRASTContext * const s = avctx->priv_data; 48 SUNRASTContext * const s = avctx->priv_data;
50 AVFrame *picture = data; 49 AVFrame *picture = data;
51 AVFrame * const p = &s->picture; 50 AVFrame * const p = &s->picture;
52 unsigned int w, h, depth, type, maptype, maplength, stride, x, y, len, alen; 51 unsigned int w, h, depth, type, maptype, maplength, stride, x, y, len, alen;
53 uint8_t *ptr; 52 uint8_t *ptr;