summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/aac.c2
-rw-r--r--apps/codecs/raac.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/aac.c b/apps/codecs/aac.c
index 8eb2dfd8ce..6fd4e44000 100644
--- a/apps/codecs/aac.c
+++ b/apps/codecs/aac.c
@@ -173,6 +173,7 @@ next_track:
173 } else { 173 } else {
174 sound_samples_done = 0; 174 sound_samples_done = 0;
175 } 175 }
176 NeAACDecPostSeekReset(decoder, i);
176 } else { 177 } else {
177 sound_samples_done = 0; 178 sound_samples_done = 0;
178 } 179 }
@@ -209,6 +210,7 @@ next_track:
209 lead_trim = ci->id3->lead_trim; 210 lead_trim = ci->id3->lead_trim;
210 } 211 }
211 } 212 }
213 NeAACDecPostSeekReset(decoder, i);
212 ci->seek_complete(); 214 ci->seek_complete();
213 } 215 }
214 216
diff --git a/apps/codecs/raac.c b/apps/codecs/raac.c
index 22d4b4b8b5..35cee8eb25 100644
--- a/apps/codecs/raac.c
+++ b/apps/codecs/raac.c
@@ -188,6 +188,7 @@ seek_start:
188 } 188 }
189 ci->seek_buffer(pkt_offset + rmctx.data_offset + DATA_HEADER_SIZE); 189 ci->seek_buffer(pkt_offset + rmctx.data_offset + DATA_HEADER_SIZE);
190 buffer = ci->request_buffer(&n,rmctx.audio_framesize + 1000); 190 buffer = ci->request_buffer(&n,rmctx.audio_framesize + 1000);
191 NeAACDecPostSeekReset(decoder, i);
191 ci->seek_complete(); 192 ci->seek_complete();
192 } 193 }
193 194