diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-02-13 08:24:00 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-02-13 19:20:52 +0100 |
commit | a8798c7eb934055d6aae51c6c7627559c33317d8 (patch) | |
tree | f6de760f9115328cd9839f5318104b0af25cc6ef /libavcodec/ac3enc.c | |
parent | 5d561514b7bb435ce810c72d8502ed0186e51979 (diff) | |
download | ffmpeg-a8798c7eb934055d6aae51c6c7627559c33317d8.tar.gz |
Drop unnecessary av_uninit attributes from some variable declarations.
Recent versions of gcc (4.4+) no longer give false positive warnings.
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 6 |
1 files changed, 2 insertions, 4 deletions
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 */ |