From: diego Date: Fri, 10 Apr 2009 11:33:14 +0000 (+0000) Subject: Remove unused variables along with the related warnings. X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/ffmpeg.git/commitdiff_plain/4566668686c05d2be411b72af15f120da589e654 Remove unused variables along with the related warnings. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18413 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c index 67799fac9..ac3e7116f 100644 --- a/libavcodec/ptx.c +++ b/libavcodec/ptx.c @@ -38,7 +38,6 @@ static av_cold int ptx_init(AVCodecContext *avctx) { 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 --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c index 8a78f1aab..3fe8f6fff 100644 --- a/libavcodec/sunrast.c +++ b/libavcodec/sunrast.c @@ -45,7 +45,6 @@ static av_cold int sunrast_init(AVCodecContext *avctx) { 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 --git a/libavcodec/txd.c b/libavcodec/txd.c index d2c743fee..a3cbde5f0 100644 --- a/libavcodec/txd.c +++ b/libavcodec/txd.c @@ -41,7 +41,6 @@ static av_cold int txd_init(AVCodecContext *avctx) { 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;