diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-21 11:55:33 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-21 21:40:49 +0400 |
commit | 7681d0eaca39eacea4cb573c737f6c5f0190307c (patch) | |
tree | 2ffedb52474e33f027b75a457725a71340d1147e | |
parent | f4da707f58823606d64756dd652e535e0060db71 (diff) |
lavd/lavfi: do not set the channel layout list.
The list was set to avfilter_all_channel_layouts,
which is really all common channel layouts.
Not setting it leaves an empty list,
which now means really all.
-rw-r--r-- | libavdevice/lavfi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index bdc5f58077..5387a869d7 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -211,10 +211,8 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx) AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_DBL, -1 }; - const int64_t *chlayouts = avfilter_all_channel_layouts; AVABufferSinkParams *abuffersink_params = av_abuffersink_params_alloc(); abuffersink_params->sample_fmts = sample_fmts; - abuffersink_params->channel_layouts = chlayouts; ret = avfilter_graph_create_filter(&sink, abuffersink, inout->name, NULL, |