summaryrefslogtreecommitdiffstats
path: root/libavfilter/af_aconvert.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/af_aconvert.c')
-rw-r--r--libavfilter/af_aconvert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_aconvert.c b/libavfilter/af_aconvert.c
index 54f1fcd..e41095f 100644
--- a/libavfilter/af_aconvert.c
+++ b/libavfilter/af_aconvert.c
@@ -147,6 +147,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *insamplesref)
(void *)insamplesref->data, n);
avfilter_copy_buffer_ref_props(outsamplesref, insamplesref);
+ outsamplesref->audio->channels = outlink->channels;
outsamplesref->audio->channel_layout = outlink->channel_layout;
ret = ff_filter_frame(outlink, outsamplesref);
OpenPOWER on IntegriCloud