mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avfilter/af_amix: unbreak FATE, increase iterator when breaking from loop
This commit is contained in:
parent
40a9363033
commit
0607f1bcb0
@ -538,10 +538,12 @@ static av_cold int init(AVFilterContext *ctx)
|
||||
last_weight = av_strtod(p, &p);
|
||||
s->weights[i] = last_weight;
|
||||
s->weight_sum += FFABS(last_weight);
|
||||
if (p && *p)
|
||||
if (p && *p) {
|
||||
p++;
|
||||
else
|
||||
} else {
|
||||
i++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
for (; i < s->nb_inputs; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user