[vlc-commits] chromaprint: missing cast
Rémi Denis-Courmont
git at videolan.org
Mon Feb 26 19:50:18 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 26 20:36:29 2018 +0200| [7bd5bab3e43ae187f7219db61ed85d06d2ba0547] | committer: Rémi Denis-Courmont
chromaprint: missing cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7bd5bab3e43ae187f7219db61ed85d06d2ba0547
---
modules/stream_out/chromaprint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/stream_out/chromaprint.c b/modules/stream_out/chromaprint.c
index 3a093a36ab..eb1f07588a 100644
--- a/modules/stream_out/chromaprint.c
+++ b/modules/stream_out/chromaprint.c
@@ -229,7 +229,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;
More information about the vlc-commits
mailing list