mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
dca: avoid C99 declaration in for() expression
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit e86e858111
)
This commit is contained in:
parent
10ed02eb39
commit
8a92ec71b3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user