From 6e2473edfda26a556c615ebc04d8aeba800bef7e Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Fri, 25 Oct 2013 15:07:40 +0200 Subject: lavfi: parsing helper for unknown channel layouts. Make ff_parse_channel_layout() accept unknown layouts too. --- libavfilter/af_pan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/af_pan.c') diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c index 1a01664675..e8c0a24db6 100644 --- a/libavfilter/af_pan.c +++ b/libavfilter/af_pan.c @@ -116,7 +116,7 @@ static av_cold int init(AVFilterContext *ctx) if (!args) return AVERROR(ENOMEM); arg = av_strtok(args, "|", &tokenizer); - ret = ff_parse_channel_layout(&pan->out_channel_layout, arg, ctx); + ret = ff_parse_channel_layout(&pan->out_channel_layout, NULL, arg, ctx); if (ret < 0) goto fail; pan->nb_output_channels = av_get_channel_layout_nb_channels(pan->out_channel_layout); -- cgit v1.2.3