提交 e86e8581 编写于 作者: G Gianluigi Tiesi 提交者: Mans Rullgard

dca: avoid C99 declaration in for() expression

Signed-off-by: NMans Rullgard <mans@mansr.com>
上级 f3619680
......@@ -1354,7 +1354,9 @@ static int dca_exss_mask2count(int mask)
*/
static void dca_exss_skip_mix_coeffs(GetBitContext *gb, int channels, int out_ch)
{
for (int i = 0; i < channels; i++) {
int i;
for (i = 0; i < channels; i++) {
int mix_map_mask = get_bits(gb, out_ch);
int num_coeffs = av_popcount(mix_map_mask);
skip_bits_long(gb, num_coeffs * 6);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册