mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-01 07:20:58 +00: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