Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27232 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bcbe317565
commit
1e5327eee0
1 changed files with 2 additions and 0 deletions
|
@ -120,10 +120,12 @@ next_track:
|
|||
* we do not use the IRAM buffer and keep faad's internal allocation (see
|
||||
* specrec.c). */
|
||||
needed_bufsize = decoder->frameLength;
|
||||
#ifdef SBR_DEC
|
||||
if ((decoder->sbr_present_flag == 1) || (decoder->forceUpSampling == 1))
|
||||
{
|
||||
needed_bufsize *= 2;
|
||||
}
|
||||
#endif
|
||||
if (needed_bufsize <= GB_BUF_SIZE)
|
||||
{
|
||||
decoder->time_out[0] = &gb_time_buffer[0][0];
|
||||
|
|
Loading…
Reference in a new issue