diff options
Diffstat (limited to 'libavfilter/af_amerge.c')
-rw-r--r-- | libavfilter/af_amerge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c index b26141d14f..28c368215f 100644 --- a/libavfilter/af_amerge.c +++ b/libavfilter/af_amerge.c @@ -263,7 +263,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples) outbuf->nb_samples = nb_samples; outbuf->channel_layout = outlink->channel_layout; - outbuf->channels = outlink->channels; + av_frame_set_channels(outbuf, outlink->channels); while (nb_samples) { ns = nb_samples; |