diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-07 16:52:36 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-07 16:52:36 +0200 |
commit | eeb48353abaab335a1fc9cc448a5691330325a09 (patch) | |
tree | 4898b11f8c3e712ac4e8938f4c7da6bae5c331c4 | |
parent | efbf107f5b28866d2e82701484e2859f5aa77e6d (diff) | |
download | ffmpeg-eeb48353abaab335a1fc9cc448a5691330325a09.tar.gz |
avcodec/ac3enc: silence 2 warnings about "possibly uninitialized" variables
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/ac3enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 37c496cd15..c13c50bbaf 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -1381,7 +1381,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, ch0; + int ch, i, baie, bnd, got_cpl, av_uninit(ch0); AC3Block *block = &s->blocks[blk]; /* block switching */ @@ -2246,7 +2246,7 @@ static av_cold int validate_options(AC3EncodeContext *s) */ static av_cold void set_bandwidth(AC3EncodeContext *s) { - int blk, ch, cpl_start; + int blk, ch, av_uninit(cpl_start); if (s->cutoff) { /* calculate bandwidth based on user-specified cutoff frequency */ |