summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/aac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/aac.c b/apps/codecs/aac.c
index 37e525e..0b27eed 100644
--- a/apps/codecs/aac.c
+++ b/apps/codecs/aac.c
@@ -145,8 +145,8 @@ next_track:
}
#ifdef SBR_DEC
- /* The file uses SBR. */
- if (decoder->forceUpSampling) {
+ /* Check for need of special handling for seek/resume and elapsed time. */
+ if (ci->id3->needs_upsampling_correction) {
sbr_fac = 2;
} else {
sbr_fac = 1;