diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-15 16:13:53 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-15 16:13:53 +0100 |
commit | cd5f50a255321a6917f7a465cd1159fe4fc4948e (patch) | |
tree | 2c9058c6caaac9774139ea0a8c2ffea49eb86c44 /libavfilter/af_aconvert.c | |
parent | 64308941d4043388a16c2d2fd51c792cfdcc2734 (diff) | |
download | ffmpeg-cd5f50a255321a6917f7a465cd1159fe4fc4948e.tar.gz |
avfilter: avoid direct access to AVFrame.channels
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/af_aconvert.c')
-rw-r--r-- | libavfilter/af_aconvert.c | 2 |
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); |