Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
external_aac
Commits
9f42dfb7
Commit
9f42dfb7
authored
9 years ago
by
Marco Nelissen
Committed by
Android Git Automerger
9 years ago
Browse files
Options
Download
Plain Diff
am
b3c5a4bb
: Fix crash on invalid channel config
* commit '
b3c5a4bb
': Fix crash on invalid channel config
parents
267940f5
b3c5a4bb
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 @
9f42dfb7
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
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