diff options
author | Nicolas George <george@nsup.org> | 2013-10-25 15:07:40 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2013-11-03 10:30:25 +0100 |
commit | 6e2473edfda26a556c615ebc04d8aeba800bef7e (patch) | |
tree | fab01a80a859aeee3e50aba1a963d6b2be6d4d2d /libavfilter/af_pan.c | |
parent | d300f5f6f570659e4b58567b35c9e8600c9f2956 (diff) | |
download | ffmpeg-6e2473edfda26a556c615ebc04d8aeba800bef7e.tar.gz |
lavfi: parsing helper for unknown channel layouts.
Make ff_parse_channel_layout() accept unknown layouts too.
Diffstat (limited to 'libavfilter/af_pan.c')
-rw-r--r-- | libavfilter/af_pan.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |