mpegaudio: Do not print value of uninitialized variable
authorDiego Biurrun <diego@biurrun.de>
Sun, 3 Jan 2016 19:45:48 +0000 (20:45 +0100)
committerDiego Biurrun <diego@biurrun.de>
Thu, 27 Oct 2016 10:21:46 +0000 (12:21 +0200)
libavcodec/mpegaudiodec_template.c:885:97: warning: variable 'x' is uninitialized when used here [-Wuninitialized]

libavcodec/mpegaudiodec_template.c

index 9bfba6f..4b90c6f 100644 (file)
@@ -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;