fb5917ae92
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=29110908d616ca15e28ec8388e377965
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
From 770789f265761fc7ab2de69ca105fec4ad93d9e2 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
|
|
Date: Mon, 26 Feb 2018 20:36:29 +0200
|
|
Subject: [PATCH] chromaprint: missing cast
|
|
|
|
(cherry picked from commit 7bd5bab3e43ae187f7219db61ed85d06d2ba0547)
|
|
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
|
|
---
|
|
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 80ec31ba2590..c76cbda3c2bb 100644
|
|
--- a/modules/stream_out/chromaprint.c
|
|
+++ b/modules/stream_out/chromaprint.c
|
|
@@ -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;
|
|
--
|
|
GitLab
|
|
|