Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
381f286d
Commit
381f286d
authored
Aug 20, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings.
parent
24adfd98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
modules/access_output/bonjour.c
modules/access_output/bonjour.c
+2
-1
modules/access_output/http.c
modules/access_output/http.c
+2
-1
No files found.
modules/access_output/bonjour.c
View file @
381f286d
...
@@ -81,6 +81,7 @@ static void entry_group_callback( AvahiEntryGroup *g,
...
@@ -81,6 +81,7 @@ static void entry_group_callback( AvahiEntryGroup *g,
AvahiEntryGroupState
state
,
AvahiEntryGroupState
state
,
void
*
userdata
)
void
*
userdata
)
{
{
(
void
)
g
;
bonjour_t
*
p_sys
=
(
bonjour_t
*
)
userdata
;
bonjour_t
*
p_sys
=
(
bonjour_t
*
)
userdata
;
if
(
state
==
AVAHI_ENTRY_GROUP_ESTABLISHED
)
if
(
state
==
AVAHI_ENTRY_GROUP_ESTABLISHED
)
...
@@ -272,7 +273,7 @@ error:
...
@@ -272,7 +273,7 @@ error:
if
(
p_sys
->
psz_txt
!=
NULL
)
if
(
p_sys
->
psz_txt
!=
NULL
)
avahi_free
(
p_sys
->
psz_txt
);
avahi_free
(
p_sys
->
psz_txt
);
free
(
(
void
*
)
p_sys
);
free
(
p_sys
);
return
NULL
;
return
NULL
;
}
}
...
...
modules/access_output/http.c
View file @
381f286d
...
@@ -324,7 +324,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -324,7 +324,7 @@ static int Open( vlc_object_t *p_this )
?
"_vlc-http._tcp"
:
"_vlc-https._tcp"
,
?
"_vlc-http._tcp"
:
"_vlc-https._tcp"
,
psz_name
,
i_bind_port
,
psz_txt
);
psz_name
,
i_bind_port
,
psz_txt
);
free
(
psz_uri
);
free
(
psz_uri
);
free
(
(
void
*
)
psz_txt
);
free
(
psz_txt
);
if
(
p_sys
->
p_bonjour
==
NULL
)
if
(
p_sys
->
p_bonjour
==
NULL
)
msg_Err
(
p_access
,
"unable to start requested Bonjour announce"
);
msg_Err
(
p_access
,
"unable to start requested Bonjour announce"
);
...
@@ -448,6 +448,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer )
...
@@ -448,6 +448,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer )
*****************************************************************************/
*****************************************************************************/
static
int
Seek
(
sout_access_out_t
*
p_access
,
off_t
i_pos
)
static
int
Seek
(
sout_access_out_t
*
p_access
,
off_t
i_pos
)
{
{
(
void
)
i_pos
;
msg_Warn
(
p_access
,
"HTTP sout access cannot seek"
);
msg_Warn
(
p_access
,
"HTTP sout access cannot seek"
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
Write
Preview
Markdown
is supported
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