Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
03efb5df
Commit
03efb5df
authored
Jan 27, 2008
by
Rémi Denis-Courmont
Browse files
Fix VLM compilation with --disable-vlm - fixes #1431
parent
95ee8030
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/vlc_vlm.h
View file @
03efb5df
...
...
@@ -29,10 +29,6 @@
#ifndef _VLC_VLM_H
#define _VLC_VLM_H 1
#ifdef __cpluplus
extern
"C"
{
#endif
#include
<vlc_input.h>
/* VLM media */
...
...
@@ -151,6 +147,10 @@ struct vlm_message_t
};
#ifdef __cpluplus
extern
"C"
{
#endif
#define vlm_New( a ) __vlm_New( VLC_OBJECT(a) )
VLC_EXPORT
(
vlm_t
*
,
__vlm_New
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
void
,
vlm_Delete
,
(
vlm_t
*
)
);
...
...
src/input/vlm.c
View file @
03efb5df
...
...
@@ -36,6 +36,8 @@
#include
<ctype.h>
/* tolower() */
#include
<assert.h>
#include
<vlc_vlm.h>
#ifdef ENABLE_VLM
#ifndef WIN32
...
...
@@ -50,7 +52,6 @@
#include
<vlc_input.h>
#include
"input_internal.h"
#include
<vlc_stream.h>
#include
<vlc_vlm.h>
#include
"vlm_internal.h"
#include
<vlc_vod.h>
#include
<vlc_charset.h>
...
...
@@ -2926,31 +2927,38 @@ vlm_t *__vlm_New( vlc_object_t *a )
msg_Err
(
a
,
"VideoLAN manager support is disabled"
);
return
NULL
;
}
void
vlm_Delete
(
vlm_t
*
a
)
{
;
(
void
)
a
;
}
int
vlm_ExecuteCommand
(
vlm_t
*
a
,
char
*
b
,
vlm_message_t
**
c
)
int
vlm_ExecuteCommand
(
vlm_t
*
a
,
const
char
*
b
,
vlm_message_t
**
c
)
{
return
-
1
;
abort
()
;
}
vlm_message_t
*
vlm_MessageNew
(
const
char
*
psz_name
,
const
char
*
psz_format
,
...
)
{
(
void
)
psz_name
;
(
void
)
psz_format
;
return
NULL
;
}
vlm_message_t
*
vlm_MessageAdd
(
vlm_message_t
*
p_message
,
vlm_message_t
*
p_child
)
{
return
NULL
;
abort
()
;
}
void
vlm_MessageDelete
(
vlm_message_t
*
a
)
{
;
(
void
)
a
;
}
int
vlm_Control
(
vlm_t
*
p_vlm
,
int
i_query
,
...
)
{
(
void
)
p_vlm
;
(
void
)
i_query
;
return
VLC_EGENERIC
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment