Commit ebe368d5 authored by Michael Niedermayer's avatar Michael Niedermayer

ac3enc: fix 'warning: block0 may be used uninitialized in this function'

The pointer is also initialized to NULL for safety.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 036b9ee1
......@@ -336,7 +336,7 @@ static void compute_rematrixing_strategy(AC3EncodeContext *s)
{
int nb_coefs;
int blk, bnd;
AC3Block *block, *block0;
AC3Block *block, *block0 = NULL;
if (s->channel_mode != AC3_CHMODE_STEREO)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment