Mercurial > libavcodec.hg
comparison ptx.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 | 7d851240d479 |
comparison
equal
deleted
inserted
replaced
9384:828d15d322ed | 9385:6cd9e789dd9e |
---|---|
36 } | 36 } |
37 | 37 |
38 static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size, | 38 static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size, |
39 AVPacket *avpkt) { | 39 AVPacket *avpkt) { |
40 const uint8_t *buf = avpkt->data; | 40 const uint8_t *buf = avpkt->data; |
41 int buf_size = avpkt->size; | |
42 PTXContext * const s = avctx->priv_data; | 41 PTXContext * const s = avctx->priv_data; |
43 AVFrame *picture = data; | 42 AVFrame *picture = data; |
44 AVFrame * const p = &s->picture; | 43 AVFrame * const p = &s->picture; |
45 unsigned int offset, w, h, y, stride, bytes_per_pixel; | 44 unsigned int offset, w, h, y, stride, bytes_per_pixel; |
46 uint8_t *ptr; | 45 uint8_t *ptr; |