aboutsummaryrefslogtreecommitdiffstats
path: root/libAACenc/src/aacenc.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2016-04-05 16:14:53 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-04-05 16:14:53 +0000
commitbb7ad8711b3b620a7c7de669b7b6409e610c29dd (patch)
tree6717743d4422e9d88e9a9f1631effd7563a9856b /libAACenc/src/aacenc.cpp
parentf86e64f5c712edc2f3dd0a9d59d75a8ebd3422ea (diff)
parent0713b4acff1a489e7d49725dc7c5e3dad370b5c8 (diff)
downloadfdk-aac-bb7ad8711b3b620a7c7de669b7b6409e610c29dd.tar.gz
fdk-aac-bb7ad8711b3b620a7c7de669b7b6409e610c29dd.tar.bz2
fdk-aac-bb7ad8711b3b620a7c7de669b7b6409e610c29dd.zip
Remove compiler warnings, revised ARM QMF encoder am: ef30836
am: 0713b4a * commit '0713b4acff1a489e7d49725dc7c5e3dad370b5c8': Remove compiler warnings, revised ARM QMF encoder Change-Id: Ic3e76f0f1f37ff49b46efe5958e19499289db751
Diffstat (limited to 'libAACenc/src/aacenc.cpp')
-rw-r--r--libAACenc/src/aacenc.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/libAACenc/src/aacenc.cpp b/libAACenc/src/aacenc.cpp
index 569662b..c47e882 100644
--- a/libAACenc/src/aacenc.cpp
+++ b/libAACenc/src/aacenc.cpp
@@ -2,7 +2,7 @@
/* -----------------------------------------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
-© Copyright 1995 - 2013 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
+© Copyright 1995 - 2015 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
All rights reserved.
1. INTRODUCTION
@@ -435,7 +435,9 @@ AAC_ENCODER_ERROR FDKaacEnc_Initialize(HANDLE_AAC_ENC hAacEnc,
&averageBitsPerFrame,
config->bitrateMode,
config->nSubFrames
- ) != config->bitRate )
+ ) != config->bitRate
+ && !((config->bitrateMode>=1) && (config->bitrateMode<=5))
+ )
{
return AAC_ENC_UNSUPPORTED_BITRATE;
}