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/asrc_anullsrc.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/asrc_anullsrc.c')
-rw-r--r-- | libavfilter/asrc_anullsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/asrc_anullsrc.c b/libavfilter/asrc_anullsrc.c index 26b32e1647..28d4500a25 100644 --- a/libavfilter/asrc_anullsrc.c +++ b/libavfilter/asrc_anullsrc.c @@ -68,7 +68,7 @@ static av_cold int init(AVFilterContext *ctx) null->sample_rate_str, ctx)) < 0) return ret; - if ((ret = ff_parse_channel_layout(&null->channel_layout, + if ((ret = ff_parse_channel_layout(&null->channel_layout, NULL, null->channel_layout_str, ctx)) < 0) return ret; |