# HG changeset patch # User diego # Date 1239363194 0 # Node ID 6cd9e789dd9e9b85d3dd8577a2779776bcf46767 # Parent 828d15d322edde9018c3d75179e6dcb3a55d46fc Remove unused variables along with the related warnings. diff -r 828d15d322ed -r 6cd9e789dd9e ptx.c --- a/ptx.c Fri Apr 10 11:31:55 2009 +0000 +++ b/ptx.c Fri Apr 10 11:33:14 2009 +0000 @@ -38,7 +38,6 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) { const uint8_t *buf = avpkt->data; - int buf_size = avpkt->size; PTXContext * const s = avctx->priv_data; AVFrame *picture = data; AVFrame * const p = &s->picture; diff -r 828d15d322ed -r 6cd9e789dd9e sunrast.c --- a/sunrast.c Fri Apr 10 11:31:55 2009 +0000 +++ b/sunrast.c Fri Apr 10 11:33:14 2009 +0000 @@ -45,7 +45,6 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) { const uint8_t *buf = avpkt->data; - int buf_size = avpkt->size; SUNRASTContext * const s = avctx->priv_data; AVFrame *picture = data; AVFrame * const p = &s->picture; diff -r 828d15d322ed -r 6cd9e789dd9e txd.c --- a/txd.c Fri Apr 10 11:31:55 2009 +0000 +++ b/txd.c Fri Apr 10 11:33:14 2009 +0000 @@ -41,7 +41,6 @@ static int txd_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) { const uint8_t *buf = avpkt->data; - int buf_size = avpkt->size; TXDContext * const s = avctx->priv_data; AVFrame *picture = data; AVFrame * const p = &s->picture;