[FFmpeg-cvslog] r18413 - in trunk/libavcodec: ptx.c sunrast.c txd.c

diego subversion
Fri Apr 10 13:33:14 CEST 2009


Author: diego
Date: Fri Apr 10 13:33:14 2009
New Revision: 18413

Log:
Remove unused variables along with the related warnings.

Modified:
   trunk/libavcodec/ptx.c
   trunk/libavcodec/sunrast.c
   trunk/libavcodec/txd.c

Modified: trunk/libavcodec/ptx.c
==============================================================================
--- trunk/libavcodec/ptx.c	Fri Apr 10 13:32:09 2009	(r18412)
+++ trunk/libavcodec/ptx.c	Fri Apr 10 13:33:14 2009	(r18413)
@@ -38,7 +38,6 @@ static av_cold int ptx_init(AVCodecConte
 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;

Modified: trunk/libavcodec/sunrast.c
==============================================================================
--- trunk/libavcodec/sunrast.c	Fri Apr 10 13:32:09 2009	(r18412)
+++ trunk/libavcodec/sunrast.c	Fri Apr 10 13:33:14 2009	(r18413)
@@ -45,7 +45,6 @@ static av_cold int sunrast_init(AVCodecC
 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;

Modified: trunk/libavcodec/txd.c
==============================================================================
--- trunk/libavcodec/txd.c	Fri Apr 10 13:32:09 2009	(r18412)
+++ trunk/libavcodec/txd.c	Fri Apr 10 13:33:14 2009	(r18413)
@@ -41,7 +41,6 @@ static av_cold int txd_init(AVCodecConte
 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;



More information about the ffmpeg-cvslog mailing list