[FFmpeg-cvslog] mpeghaudiodec: Fix "set but not used" warnings
Michael Niedermayer
git at videolan.org
Fri Mar 30 20:39:01 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Mar 30 20:17:58 2012 +0200| [e2094bd03bcbfe157288b2466d12a5d817cedc99] | committer: Michael Niedermayer
mpeghaudiodec: Fix "set but not used" warnings
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2094bd03bcbfe157288b2466d12a5d817cedc99
---
libavcodec/mpegaudiodec.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index c619269..5c389c9 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -1700,7 +1700,8 @@ static int decode_frame_adu(AVCodecContext *avctx, void *data,
int buf_size = avpkt->size;
MPADecodeContext *s = avctx->priv_data;
uint32_t header;
- int len, out_size;
+ int len;
+ int av_unused out_size;
len = buf_size;
More information about the ffmpeg-cvslog
mailing list