lavfi/biquads: remove pointless casts
authorPaul B Mahol <onemda@gmail.com>
Thu, 31 Jan 2013 13:16:32 +0000 (13:16 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 31 Jan 2013 13:16:32 +0000 (13:16 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/af_biquads.c

index 375e9d2..123d7a2 100644 (file)
@@ -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);