changeset 9385:6cd9e789dd9e libavcodec

Remove unused variables along with the related warnings.
author diego
date Fri, 10 Apr 2009 11:33:14 +0000
parents 828d15d322ed
children a673af90ed8f
files ptx.c sunrast.c txd.c
diffstat 3 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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;
--- 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;