Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ee24078f
Commit
ee24078f
authored
Oct 13, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wav: Reject invalid files leading to FPE
parent
2dd0fa30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/demux/wav.c
modules/demux/wav.c
+4
-0
No files found.
modules/demux/wav.c
View file @
ee24078f
...
...
@@ -349,6 +349,10 @@ static int Open( vlc_object_t * p_this )
p_sys
->
fmt
.
i_codec
=
vlc_fourcc_GetCodecAudio
(
p_sys
->
fmt
.
i_codec
,
p_sys
->
fmt
.
audio
.
i_bitspersample
);
if
(
p_sys
->
fmt
.
i_codec
==
0
)
{
msg_Err
(
p_demux
,
"Unrecognized codec"
);
goto
error
;
}
break
;
case
VLC_CODEC_ADPCM_MS
:
/* FIXME not sure at all FIXME */
...
...
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