From e6aee46760d48e3f861f1d8e893d672fa0115ef3 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Wed, 23 May 2012 12:58:15 +0200 Subject: [PATCH] af_amerge: set samples rate in query_formats. --- libavfilter/af_amerge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c index 18b3046b26..abccfe4e29 100644 --- a/libavfilter/af_amerge.c +++ b/libavfilter/af_amerge.c @@ -106,6 +106,7 @@ static int query_formats(AVFilterContext *ctx) layouts = NULL; ff_add_channel_layout(&layouts, outlayout); ff_channel_layouts_ref(layouts, &ctx->outputs[0]->in_channel_layouts); + ff_set_common_samplerates(ctx, ff_all_samplerates()); return 0; }