diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-02-15 03:18:33 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-02-15 03:18:33 +0000 |
commit | 4422539a921bc39694a2ae210ce69e4410d2c235 (patch) | |
tree | 44d6676c2975eec965bb3e6c2562e1632eaf4385 /libAACenc/src/aacEnc_ram.cpp | |
parent | 67aa964d429b7bfe242b28cd223ae1dddf8e3a78 (diff) | |
parent | e016635f0d3a5c7532b00711ce461f97a13f7bc2 (diff) | |
download | fdk-aac-4422539a921bc39694a2ae210ce69e4410d2c235.tar.gz fdk-aac-4422539a921bc39694a2ae210ce69e4410d2c235.tar.bz2 fdk-aac-4422539a921bc39694a2ae210ce69e4410d2c235.zip |
Snap for 6210127 from e016635f0d3a5c7532b00711ce461f97a13f7bc2 to rvc-release
Change-Id: Icca87a4feea92b453adc049922c543eb3bf048fd
Diffstat (limited to 'libAACenc/src/aacEnc_ram.cpp')
-rw-r--r-- | libAACenc/src/aacEnc_ram.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libAACenc/src/aacEnc_ram.cpp b/libAACenc/src/aacEnc_ram.cpp index 77b1131..25e2aec 100644 --- a/libAACenc/src/aacEnc_ram.cpp +++ b/libAACenc/src/aacEnc_ram.cpp @@ -1,7 +1,7 @@ /* ----------------------------------------------------------------------------- Software License for The Fraunhofer FDK AAC Codec Library for Android -© Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten +© Copyright 1995 - 2019 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. All rights reserved. 1. INTRODUCTION @@ -204,5 +204,5 @@ QC_OUT_CHANNEL *GetRam_aacEnc_QCchannel(int n, UCHAR *dynamic_RAM) { * (dynamic_RAM + P_BUF_0 + n*sizeof(QC_OUT_CHANNEL)) is sufficiently aligned, * so the cast is safe */ return reinterpret_cast<QC_OUT_CHANNEL *>(reinterpret_cast<void *>( - dynamic_RAM + P_BUF_0 + n * sizeof(QC_OUT_CHANNEL))); + dynamic_RAM + P_BUF_0 + n * ALIGN_SIZE(sizeof(QC_OUT_CHANNEL)))); } |