Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
dbb13499
Commit
dbb13499
authored
Jun 25, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't ignore DTS in wav.
parent
483cdd60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/demux/mpeg/es.c
modules/demux/mpeg/es.c
+3
-2
No files found.
modules/demux/mpeg/es.c
View file @
dbb13499
...
...
@@ -618,8 +618,9 @@ static int WavSkipHeader( demux_t *p_demux, int *pi_skip )
if
(
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
i_peek
)
!=
i_peek
)
return
VLC_EGENERIC
;
int
i_format
=
GetWLE
(
p_peek
+
i_peek
-
i_len
-
8
/* wFormatTag */
);
if
(
i_format
!=
WAVE_FORMAT_PCM
&&
/* WAVE_FORMAT_PCM */
i_format
!=
WAVE_FORMAT_A52
/* WAVE_FORMAT_A52 */
)
if
(
i_format
!=
WAVE_FORMAT_PCM
&&
i_format
!=
WAVE_FORMAT_A52
&&
i_format
!=
WAVE_FORMAT_DTS
)
return
VLC_EGENERIC
;
if
(
GetWLE
(
p_peek
+
i_peek
-
i_len
-
6
/* nChannels */
)
!=
2
)
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