diff options
-rw-r--r-- | apps/codecs/mpa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index e9667973f7..3de7684b2b 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c | |||
@@ -94,7 +94,10 @@ next_track: | |||
94 | current_frequency = ci->id3->frequency; | 94 | current_frequency = ci->id3->frequency; |
95 | codec_set_replaygain(ci->id3); | 95 | codec_set_replaygain(ci->id3); |
96 | 96 | ||
97 | ci->seek_buffer(ci->id3->first_frame_offset); | 97 | if (ci->id3->offset) |
98 | ci->seek_buffer(ci->id3->offset); | ||
99 | else | ||
100 | ci->seek_buffer(ci->id3->first_frame_offset); | ||
98 | 101 | ||
99 | if (ci->id3->lead_trim >= 0 && ci->id3->tail_trim >= 0) { | 102 | if (ci->id3->lead_trim >= 0 && ci->id3->tail_trim >= 0) { |
100 | stop_skip = ci->id3->tail_trim - mpeg_latency[ci->id3->layer]; | 103 | stop_skip = ci->id3->tail_trim - mpeg_latency[ci->id3->layer]; |