diff options
author | Andreas Huber <andih@google.com> | 2010-10-07 16:48:50 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-10-07 16:52:42 -0700 |
commit | f4ea1f92bc56a8ffceddba0dbd3979fe0219b13c (patch) | |
tree | 8f0773e9d8a4cee272ec1efbdd6dfa41679af9d3 /media/libstagefright/codecs/mp3dec/src/pvmp3_reorder.cpp | |
parent | 2a4d22d79e927f2245537921e10fc5fda1c47a29 (diff) | |
download | frameworks_av-f4ea1f92bc56a8ffceddba0dbd3979fe0219b13c.zip frameworks_av-f4ea1f92bc56a8ffceddba0dbd3979fe0219b13c.tar.gz frameworks_av-f4ea1f92bc56a8ffceddba0dbd3979fe0219b13c.tar.bz2 |
Increase scratch buffers sizes in mp3 software decoder, this integrates a PV master/opensource patch.
Change-Id: I5a637f1b380e44c94040ec507843d58a1f5a9b61
related-to-bug: 3065605
Diffstat (limited to 'media/libstagefright/codecs/mp3dec/src/pvmp3_reorder.cpp')
-rw-r--r-- | media/libstagefright/codecs/mp3dec/src/pvmp3_reorder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/codecs/mp3dec/src/pvmp3_reorder.cpp b/media/libstagefright/codecs/mp3dec/src/pvmp3_reorder.cpp index 35b6475..286c636 100644 --- a/media/libstagefright/codecs/mp3dec/src/pvmp3_reorder.cpp +++ b/media/libstagefright/codecs/mp3dec/src/pvmp3_reorder.cpp @@ -40,7 +40,7 @@ int32 xr[ ], rescaled data struct gr_info_s *gr_info, granule structure mp3Header *info, mp3 header info - int32 Scratch_mem[168] for temporary usage + int32 Scratch_mem[198] for temporary usage Outputs: @@ -120,7 +120,7 @@ void pvmp3_reorder(int32 xr[SUBBANDS_NUMBER*FILTERBANK_BANDS], granuleInfo *gr_info, int32 *used_freq_lines, mp3Header *info, - int32 Scratch_mem[168]) + int32 Scratch_mem[198]) { int32 sfreq = info->version_x + (info->version_x << 1); sfreq += info->sampling_frequency; |