From 255526998501f0040ae43fe4848c817a97fc578a Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 3 Jan 2016 20:45:48 +0100 Subject: [PATCH] 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 9bfba6f221..4b90c6fb81 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;