diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2017-04-22 15:57:18 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2017-04-23 14:40:30 +0700 |
commit | 6af050d7d0c3c73f3d62115152db82ebd2dc5d57 (patch) | |
tree | d1c7b6d4711dc095cab3f135f5c6433b4474364a /libavfilter/af_join.c | |
parent | 8103c595223613c08e44bcf56ae7098d3c31be8b (diff) | |
download | ffmpeg-6af050d7d0c3c73f3d62115152db82ebd2dc5d57.tar.gz |
avfilter: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavfilter/af_join.c')
-rw-r--r-- | libavfilter/af_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_join.c b/libavfilter/af_join.c index bd780cc379..74ecce052d 100644 --- a/libavfilter/af_join.c +++ b/libavfilter/af_join.c @@ -491,7 +491,7 @@ static int try_push_frame(AVFilterContext *ctx) frame->nb_samples = nb_samples; frame->channel_layout = outlink->channel_layout; - av_frame_set_channels(frame, outlink->channels); + frame->channels = outlink->channels; frame->sample_rate = outlink->sample_rate; frame->format = outlink->format; frame->pts = s->input_frames[0]->pts; |