summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-04-10 11:33:14 +0000
committerDiego Biurrun <diego@biurrun.de>2009-04-10 11:33:14 +0000
commit222ab26c62ebc57a6c949233f144b190cf43e038 (patch)
tree9d1c0eec64f56f44ea947d89a4446c6f7a33ad0e
parentcbf1eae9a53ecf2c5052a4b6563aab3913ad31fc (diff)
Remove unused variables along with the related warnings.
Originally committed as revision 18413 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ptx.c1
-rw-r--r--libavcodec/sunrast.c1
-rw-r--r--libavcodec/txd.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c
index 67799fac9e..ac3e7116f3 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 8a78f1aab4..3fe8f6fffb 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 d2c743feed..a3cbde5f0b 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;