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
Steve Lhomme
VLC
Commits
d42a6172
Commit
d42a6172
authored
Jun 04, 2013
by
Rafaël Carré
Browse files
faad decoder: fix decoding with some samples
parent
4c49d3e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/faad.c
View file @
d42a6172
...
...
@@ -325,10 +325,11 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
{
msg_Warn
(
p_dec
,
"%s"
,
faacDecGetErrorMessage
(
frame
.
error
)
);
if
(
frame
.
error
==
21
)
if
(
frame
.
error
==
21
||
frame
.
error
==
12
)
{
/*
* Once an "Unexpected channel configuration change" error
* Once an "Unexpected channel configuration change"
* or a "Invalid number of channels" error
* occurs, it will occurs afterwards, and we got no sound.
* Reinitialization of the decoder is required.
*/
...
...
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