Mercurial > libavcodec.hg
comparison txd.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 | f2fb80b9952a |
comparison
equal
deleted
inserted
replaced
9384:828d15d322ed | 9385:6cd9e789dd9e |
---|---|
39 } | 39 } |
40 | 40 |
41 static int txd_decode_frame(AVCodecContext *avctx, void *data, int *data_size, | 41 static int txd_decode_frame(AVCodecContext *avctx, void *data, int *data_size, |
42 AVPacket *avpkt) { | 42 AVPacket *avpkt) { |
43 const uint8_t *buf = avpkt->data; | 43 const uint8_t *buf = avpkt->data; |
44 int buf_size = avpkt->size; | |
45 TXDContext * const s = avctx->priv_data; | 44 TXDContext * const s = avctx->priv_data; |
46 AVFrame *picture = data; | 45 AVFrame *picture = data; |
47 AVFrame * const p = &s->picture; | 46 AVFrame * const p = &s->picture; |
48 unsigned int version, w, h, d3d_format, depth, stride, mipmap_count, flags; | 47 unsigned int version, w, h, d3d_format, depth, stride, mipmap_count, flags; |
49 unsigned int y, v; | 48 unsigned int y, v; |