Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/af_aconvert.c')
-rw-r--r--libavfilter/af_aconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_aconvert.c b/libavfilter/af_aconvert.c
index 2cf12e3308..c05e5719a3 100644
--- a/libavfilter/af_aconvert.c
+++ b/libavfilter/af_aconvert.c
@@ -147,7 +147,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamplesref)
(void *)insamplesref->extended_data, n);
av_frame_copy_props(outsamplesref, insamplesref);
- outsamplesref->channels = outlink->channels;
+ av_frame_set_channels(outsamplesref, outlink->channels);
outsamplesref->channel_layout = outlink->channel_layout;
ret = ff_filter_frame(outlink, outsamplesref);