OSDN Git Service

Remove unused variables along with the related warnings.
authorDiego Biurrun <diego@biurrun.de>
Fri, 10 Apr 2009 11:33:14 +0000 (11:33 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 10 Apr 2009 11:33:14 +0000 (11:33 +0000)
Originally committed as revision 18413 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ptx.c
libavcodec/sunrast.c
libavcodec/txd.c

index 67799fa..ac3e711 100644 (file)
@@ -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;
index 8a78f1a..3fe8f6f 100644 (file)
@@ -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;
index d2c743f..a3cbde5 100644 (file)
@@ -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;