[FFmpeg-devel] [PATCH 07/10] lavfi/af_aformat: accept unkonwn channel layouts.

Stefano Sabatini stefasab at gmail.com
Sun Jan 6 10:34:11 CET 2013


On date Saturday 2013-01-05 14:50:42 +0100, Nicolas George encoded:
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavfilter/af_aformat.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavfilter/af_aformat.c b/libavfilter/af_aformat.c
> index b1d779f..9ac381f 100644
> --- a/libavfilter/af_aformat.c
> +++ b/libavfilter/af_aformat.c
> @@ -121,7 +121,7 @@ static int query_formats(AVFilterContext *ctx)
>      ff_set_common_samplerates(ctx, s->sample_rates ? s->sample_rates :
>                                                       ff_all_samplerates());
>      ff_set_common_channel_layouts(ctx, s->channel_layouts ? s->channel_layouts :
> -                                                            ff_all_channel_layouts());
> +                                                            ff_all_channel_counts());

LGTM, thanks.
-- 
FFmpeg = Formidable & Frightening Magical Purposeless Evanescent Guru


More information about the ffmpeg-devel mailing list