Commit 62a9725b authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dcadec: add an assert to silence a uninitialized variable warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7e79d72c
......@@ -2064,6 +2064,8 @@ static void dca_exss_parse_header(DCAContext *s)
}
}
av_assert0(num_assets > 0); // silence a warning
for (i = 0; i < num_assets; i++)
asset_size[i] = get_bits_long(&s->gb, 16 + 4 * blownup);
......
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