Skip to content
Snippets Groups Projects
Commit 770789f2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Steve Lhomme
Browse files

chromaprint: missing cast


(cherry picked from commit 7bd5bab3)
Signed-off-by: default avatarSteve Lhomme <robux4@ycbcr.xyz>
parent 4a20ef61
No related branches found
No related tags found
1 merge request!4665[3.0] fix misc compilation errors when extra checks are enabled
......@@ -231,7 +231,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
if ( !p_sys->b_finished && id->i_samples > 0 && p_buf->i_buffer )
{
if(! chromaprint_feed( p_sys->p_chromaprint_ctx,
p_buf->p_buffer,
(int16_t *)p_buf->p_buffer,
p_buf->i_buffer / BYTESPERSAMPLE ) )
msg_Warn( p_stream, "feed error" );
id->i_samples -= i_samples;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment