Module: libav
Branch: master
Commit: 255526998501f0040ae43fe4848c817a97fc578a

Author:    Diego Biurrun <[email protected]>
Committer: Diego Biurrun <[email protected]>
Date:      Sun Jan  3 20:45:48 2016 +0100

mpegaudio: Do not print value of uninitialized variable

libavcodec/mpegaudiodec_template.c:885:97: warning: variable 'x' is 
uninitialized when used here [-Wuninitialized]

---

 libavcodec/mpegaudiodec_template.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/mpegaudiodec_template.c 
b/libavcodec/mpegaudiodec_template.c
index 9bfba6f..4b90c6f 100644
--- a/libavcodec/mpegaudiodec_template.c
+++ b/libavcodec/mpegaudiodec_template.c
@@ -877,8 +877,8 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef 
*g,
 
             exponent= exponents[s_index];
 
-            ff_dlog(s->avctx, "region=%d n=%d x=%d y=%d exp=%d\n",
-                    i, g->region_size[i] - j, x, y, exponent);
+            ff_dlog(s->avctx, "region=%d n=%d y=%d exp=%d\n",
+                    i, g->region_size[i] - j, y, exponent);
             if (y & 16) {
                 x = y >> 5;
                 y = y & 0x0f;

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

Reply via email to