This fixes the warning:
libavcodec/mpegaudiodec.c:1704:14: warning: variable ‘out_size’ set but not used
---
 libavcodec/mpegaudiodec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 0ab87e1..a2ac016 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -1701,7 +1701,7 @@ 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;
 
     len = buf_size;
 
@@ -1732,7 +1732,7 @@ static int decode_frame_adu(AVCodecContext *avctx, void 
*data,
 
     s->frame_size = len;
 
-    out_size = mp_decode_frame(s, NULL, buf, buf_size);
+    mp_decode_frame(s, NULL, buf, buf_size);
 
     *got_frame_ptr   = 1;
     *(AVFrame *)data = s->frame;
-- 
1.7.5.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to