[vlc-commits] acoustid: Constify buffer parameter
Hugo Beauzée-Luyssen
git at videolan.org
Wed Apr 11 16:39:37 CEST 2018
vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Apr 11 14:21:04 2018 +0200| [fb39e87c320052646ad3c39d60eddbc520f8481c] | committer: Hugo Beauzée-Luyssen
acoustid: Constify buffer parameter
(cherry picked from commit 8795af2bebf182227b2d2bc8d34f16701ec6133c)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=fb39e87c320052646ad3c39d60eddbc520f8481c
---
modules/misc/webservices/acoustid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/misc/webservices/acoustid.c b/modules/misc/webservices/acoustid.c
index e867327233..5cea3ce1bd 100644
--- a/modules/misc/webservices/acoustid.c
+++ b/modules/misc/webservices/acoustid.c
@@ -91,7 +91,7 @@ static void parse_recordings( vlc_object_t *p_obj, json_value *node, acoustid_re
}
}
-static bool ParseJson( vlc_object_t *p_obj, char *psz_buffer, acoustid_results_t *p_results )
+static bool ParseJson( vlc_object_t *p_obj, const char *psz_buffer, acoustid_results_t *p_results )
{
json_settings settings;
char psz_error[128];
More information about the vlc-commits
mailing list