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/audio.c')
-rw-r--r--libavfilter/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/audio.c b/libavfilter/audio.c
index b5a9f789f6..1075217fe0 100644
--- a/libavfilter/audio.c
+++ b/libavfilter/audio.c
@@ -69,7 +69,7 @@ AVFrame *ff_default_get_audio_buffer(AVFilterLink *link, int nb_samples)
frame->nb_samples = nb_samples;
frame->format = link->format;
- frame->channels = link->channels;
+ av_frame_set_channels(frame, link->channels);
frame->channel_layout = link->channel_layout;
frame->sample_rate = link->sample_rate;