diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-12-20 16:38:53 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-12-20 17:01:35 +0100 |
commit | c7a1239bf9807cc0a6a2d9a004877578c258fdbf (patch) | |
tree | 65308afafcae03d91a23c9bd7d983cf86fdc4442 /libavfilter | |
parent | 17714adbf807e946c6e0a1a9e3f605564426102a (diff) | |
download | ffmpeg-streaming-c7a1239bf9807cc0a6a2d9a004877578c258fdbf.zip ffmpeg-streaming-c7a1239bf9807cc0a6a2d9a004877578c258fdbf.tar.gz |
lavfi/af_aconvert: update audio->channels.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_aconvert.c | 1 |
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); |