Commit 1b75ee7b authored by Felix Paul Kühne's avatar Felix Paul Kühne

* don't use nested functions please. --- fixes compilation on OSX, which was broken in [17281]

parent ff6d1b16
...@@ -365,10 +365,8 @@ LIBVLC_VLM_GET_MEDIA_ATTRIBUTE( seekable, int, Bool, 0); ...@@ -365,10 +365,8 @@ LIBVLC_VLM_GET_MEDIA_ATTRIBUTE( seekable, int, Bool, 0);
#undef LIBVLC_VLM_GET_MEDIA_ATTRIBUTE #undef LIBVLC_VLM_GET_MEDIA_ATTRIBUTE
char* libvlc_vlm_show_media( libvlc_instance_t *p_instance, char *psz_name, /* local function to be used in libvlc_vlm_show_media only */
libvlc_exception_t *p_exception ) char* recurse_answer( char* psz_prefix, vlm_message_t *p_answer ) {
{
char* recurse_answer( char* psz_prefix, vlm_message_t *p_answer ) {
char* psz_childprefix; char* psz_childprefix;
char* psz_response=""; char* psz_response="";
char* response_tmp; char* response_tmp;
...@@ -401,8 +399,11 @@ char* libvlc_vlm_show_media( libvlc_instance_t *p_instance, char *psz_name, ...@@ -401,8 +399,11 @@ char* libvlc_vlm_show_media( libvlc_instance_t *p_instance, char *psz_name,
} }
free( psz_childprefix ); free( psz_childprefix );
return psz_response; return psz_response;
} }
char* libvlc_vlm_show_media( libvlc_instance_t *p_instance, char *psz_name,
libvlc_exception_t *p_exception )
{
char *psz_message; char *psz_message;
vlm_message_t *answer; vlm_message_t *answer;
char *psz_response; char *psz_response;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment