[FFmpeg-cvslog] lavfi/biquads: remove pointless casts
Paul B Mahol
git at videolan.org
Thu Jan 31 14:20:03 CET 2013
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Jan 31 13:16:32 2013 +0000| [402ea625ab7be2fed10c8728029ffbe1ff4bf2d7] | committer: Paul B Mahol
lavfi/biquads: remove pointless casts
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=402ea625ab7be2fed10c8728029ffbe1ff4bf2d7
---
libavfilter/af_biquads.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c
index 375e9d2..123d7a2 100644
--- a/libavfilter/af_biquads.c
+++ b/libavfilter/af_biquads.c
@@ -382,11 +382,11 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *buf)
}
for (ch = 0; ch < buf->audio->channels; ch++)
- p->filter((const float *)buf->extended_data[ch],
- (float *)out_buf->extended_data[ch], nb_samples,
- &p->cache[ch].i1, &p->cache[ch].i2,
- &p->cache[ch].o1, &p->cache[ch].o2,
- p->b0, p->b1, p->b2, p->a1, p->a2);
+ p->filter(buf->extended_data[ch],
+ out_buf->extended_data[ch], nb_samples,
+ &p->cache[ch].i1, &p->cache[ch].i2,
+ &p->cache[ch].o1, &p->cache[ch].o2,
+ p->b0, p->b1, p->b2, p->a1, p->a2);
if (buf != out_buf)
avfilter_unref_buffer(buf);
More information about the ffmpeg-cvslog
mailing list