lavfi/af_aformat: accept unknown channel layouts.

This commit is contained in:
Nicolas George 2012-12-26 16:51:26 +01:00
parent ea645e90a1
commit 6d962aec8d

View File

@ -121,7 +121,7 @@ static int query_formats(AVFilterContext *ctx)
ff_set_common_samplerates(ctx, s->sample_rates ? s->sample_rates : ff_set_common_samplerates(ctx, s->sample_rates ? s->sample_rates :
ff_all_samplerates()); ff_all_samplerates());
ff_set_common_channel_layouts(ctx, s->channel_layouts ? s->channel_layouts : ff_set_common_channel_layouts(ctx, s->channel_layouts ? s->channel_layouts :
ff_all_channel_layouts()); ff_all_channel_counts());
return 0; return 0;
} }