aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-01-31 13:16:32 +0000
committerPaul B Mahol <onemda@gmail.com>2013-01-31 13:16:32 +0000
commit402ea625ab7be2fed10c8728029ffbe1ff4bf2d7 (patch)
treef6601131da2b93d5b3ac6eea875004a0779503d1
parentb70ea49ca32cbff8be5c6f85a94600bb5fcc8ac8 (diff)
downloadffmpeg-402ea625ab7be2fed10c8728029ffbe1ff4bf2d7.tar.gz
lavfi/biquads: remove pointless casts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavfilter/af_biquads.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c
index 375e9d2525..123d7a2eee 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);