Browse code

lavfi/biquads: remove pointless casts

Signed-off-by: Paul B Mahol <onemda@gmail.com>

Paul B Mahol authored on 2013/01/31 22:16:32
Showing 1 changed files
... ...
@@ -382,11 +382,11 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *buf)
382 382
     }
383 383
 
384 384
     for (ch = 0; ch < buf->audio->channels; ch++)
385
-        p->filter((const float *)buf->extended_data[ch],
386
-                   (float *)out_buf->extended_data[ch], nb_samples,
387
-                   &p->cache[ch].i1, &p->cache[ch].i2,
388
-                   &p->cache[ch].o1, &p->cache[ch].o2,
389
-                   p->b0, p->b1, p->b2, p->a1, p->a2);
385
+        p->filter(buf->extended_data[ch],
386
+                  out_buf->extended_data[ch], nb_samples,
387
+                  &p->cache[ch].i1, &p->cache[ch].i2,
388
+                  &p->cache[ch].o1, &p->cache[ch].o2,
389
+                  p->b0, p->b1, p->b2, p->a1, p->a2);
390 390
 
391 391
     if (buf != out_buf)
392 392
         avfilter_unref_buffer(buf);