diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2017-04-22 11:57:18 +0300 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2017-04-23 10:40:30 +0300 |
commit | 6af050d7d0c3c73f3d62115152db82ebd2dc5d57 (patch) | |
tree | d1c7b6d4711dc095cab3f135f5c6433b4474364a /libavfilter/af_biquads.c | |
parent | 8103c595223613c08e44bcf56ae7098d3c31be8b (diff) |
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_biquads.c')
-rw-r--r-- | libavfilter/af_biquads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c index 79f1b7cf4c..a39d09dbec 100644 --- a/libavfilter/af_biquads.c +++ b/libavfilter/af_biquads.c @@ -411,7 +411,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf) av_frame_copy_props(out_buf, buf); } - for (ch = 0; ch < av_frame_get_channels(buf); ch++) + for (ch = 0; ch < buf->channels; ch++) s->filter(s, buf->extended_data[ch], out_buf->extended_data[ch], nb_samples, &s->cache[ch].i1, &s->cache[ch].i2, |