Commit bffc2bcd authored by Marton Balint's avatar Marton Balint

avfilter/af_atempo: add support for unknown channel layouts

Reviewed-by: 's avatarNicolas George <george@nsup.org>
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent 7ceb9e6b
...@@ -1014,7 +1014,7 @@ static int query_formats(AVFilterContext *ctx) ...@@ -1014,7 +1014,7 @@ static int query_formats(AVFilterContext *ctx)
}; };
int ret; int ret;
layouts = ff_all_channel_layouts(); layouts = ff_all_channel_counts();
if (!layouts) { if (!layouts) {
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment