Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
dc4fe2ca
Commit
dc4fe2ca
authored
Jul 10, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warning fixes
parent
f15f0048
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/demux/au.c
modules/demux/au.c
+1
-1
modules/demux/wav.c
modules/demux/wav.c
+2
-2
No files found.
modules/demux/au.c
View file @
dc4fe2ca
...
@@ -107,7 +107,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -107,7 +107,7 @@ static int Open( vlc_object_t *p_this )
if
(
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
4
)
<
4
)
return
VLC_EGENERIC
;
if
(
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
4
)
<
4
)
return
VLC_EGENERIC
;
if
(
strn
cmp
(
p_peek
,
".snd"
,
4
)
)
if
(
mem
cmp
(
p_peek
,
".snd"
,
4
)
)
{
{
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
...
modules/demux/wav.c
View file @
dc4fe2ca
...
@@ -112,7 +112,7 @@ static int Open( vlc_object_t * p_this )
...
@@ -112,7 +112,7 @@ static int Open( vlc_object_t * p_this )
/* Is it a wav file ? */
/* Is it a wav file ? */
if
(
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
12
)
<
12
)
return
VLC_EGENERIC
;
if
(
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
12
)
<
12
)
return
VLC_EGENERIC
;
if
(
strncmp
(
p_peek
,
"RIFF"
,
4
)
||
strn
cmp
(
&
p_peek
[
8
],
"WAVE"
,
4
)
)
if
(
memcmp
(
p_peek
,
"RIFF"
,
4
)
||
mem
cmp
(
&
p_peek
[
8
],
"WAVE"
,
4
)
)
{
{
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -381,7 +381,7 @@ static int ChunkFind( demux_t *p_demux, char *fcc, unsigned int *pi_size )
...
@@ -381,7 +381,7 @@ static int ChunkFind( demux_t *p_demux, char *fcc, unsigned int *pi_size )
msg_Dbg
(
p_demux
,
"Chunk: fcc=`%4.4s` size=%d"
,
p_peek
,
i_size
);
msg_Dbg
(
p_demux
,
"Chunk: fcc=`%4.4s` size=%d"
,
p_peek
,
i_size
);
if
(
!
strn
cmp
(
p_peek
,
fcc
,
4
)
)
if
(
!
mem
cmp
(
p_peek
,
fcc
,
4
)
)
{
{
if
(
pi_size
)
if
(
pi_size
)
{
{
...
...
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