Commit 7400a570 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

chromaprint: Fix compilation with chromaprint 1.4

It takes const int16_t * as argument now, while before it was void *. To
make this work with both versions without #ifdef, we omit the const.
parent b00cdd94
......@@ -218,7 +218,7 @@ gst_chromaprint_transform_ip (GstBaseTransform * trans, GstBuffer * buf)
chromaprint->nsamples += nsamples;
chromaprint->duration = chromaprint->nsamples / rate;
chromaprint_feed (chromaprint->context, map_info.data,
chromaprint_feed (chromaprint->context, (gint16 *) map_info.data,
map_info.size / sizeof (guint16));
if (chromaprint->duration >= chromaprint->max_duration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment