[SCM] libav/experimental: Remove unused variables along with the related warnings.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:43:40 UTC 2013
The following commit has been merged in the experimental branch:
commit 222ab26c62ebc57a6c949233f144b190cf43e038
Author: Diego Biurrun <diego at biurrun.de>
Date: Fri Apr 10 11:33:14 2009 +0000
Remove unused variables along with the related warnings.
Originally committed as revision 18413 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c
index 67799fa..ac3e711 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 8a78f1a..3fe8f6f 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 d2c743f..a3cbde5 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list