mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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.
This commit is contained in:
parent
b00cdd944b
commit
7400a57043
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue