From a8798c7eb934055d6aae51c6c7627559c33317d8 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 13 Feb 2012 08:24:00 +0100 Subject: Drop unnecessary av_uninit attributes from some variable declarations. Recent versions of gcc (4.4+) no longer give false positive warnings. --- libavcodec/ac3enc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libavcodec/ac3enc.c') diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index b8e23e49f6..3bf5f9405c 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -1386,8 +1386,7 @@ static void ac3_output_frame_header(AC3EncodeContext *s) */ static void output_audio_block(AC3EncodeContext *s, int blk) { - int ch, i, baie, bnd, got_cpl; - int av_uninit(ch0); + int ch, i, baie, bnd, got_cpl, ch0; AC3Block *block = &s->blocks[blk]; /* block switching */ @@ -2236,8 +2235,7 @@ static av_cold int validate_options(AC3EncodeContext *s) */ static av_cold void set_bandwidth(AC3EncodeContext *s) { - int blk, ch; - int av_uninit(cpl_start); + int blk, ch, cpl_start; if (s->cutoff) { /* calculate bandwidth based on user-specified cutoff frequency */ -- cgit v1.2.3