Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fdk-aac
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
fdk-aac
Commits
b3c5a4bb
Commit
b3c5a4bb
authored
Sep 08, 2015
by
Marco Nelissen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crash on invalid channel config
Bug: 23876444 Change-Id: I90ad197811ebabceb5b5d74d6d3f20716fbe2d45
parent
6792cf63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
libPCMutils/src/pcmutils_lib.cpp
libPCMutils/src/pcmutils_lib.cpp
+5
-2
No files found.
libPCMutils/src/pcmutils_lib.cpp
View file @
b3c5a4bb
...
...
@@ -88,7 +88,7 @@ amm-info@iis.fraunhofer.de
expansion in the PCM time domain.
*******************************************************************************/
#include <log/log.h>
#include "pcmutils_lib.h"
#include "genericStds.h"
...
...
@@ -2073,7 +2073,10 @@ PCMDMX_ERROR pcmDmx_ApplyFrame (
map
[
ch
++
]
=
inCh
;
}
}
FDK_ASSERT
(
ch
==
numInChannels
);
if
(
ch
!=
numInChannels
)
{
ALOGE
(
"b/23876444"
);
return
PCMDMX_INVALID_ARGUMENT
;
}
/* Remove unused cols from factor matrix */
for
(
inCh
=
0
;
inCh
<
numInChannels
;
inCh
+=
1
)
{
...
...
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