diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/playback.c b/apps/playback.c index d48fd39fb8..c2fc30f0a1 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -2904,7 +2904,9 @@ static void audio_on_ff_rewind(long time) | |||
2904 | 2904 | ||
2905 | /* Track must complete the loading _now_ since a codec and audio | 2905 | /* Track must complete the loading _now_ since a codec and audio |
2906 | handle are needed in order to do the seek */ | 2906 | handle are needed in order to do the seek */ |
2907 | if (cur_info->audio_hid < 0 && | 2907 | bool finish_load = cur_info->audio_hid < 0; |
2908 | |||
2909 | if (finish_load && | ||
2908 | audio_finish_load_track(cur_info) != LOAD_TRACK_READY) | 2910 | audio_finish_load_track(cur_info) != LOAD_TRACK_READY) |
2909 | { | 2911 | { |
2910 | /* Call above should push any load sequence - no need for | 2912 | /* Call above should push any load sequence - no need for |
@@ -2914,7 +2916,7 @@ static void audio_on_ff_rewind(long time) | |||
2914 | break; | 2916 | break; |
2915 | } | 2917 | } |
2916 | 2918 | ||
2917 | if (pending == TRACK_SKIP_AUTO) | 2919 | if (pending == TRACK_SKIP_AUTO || finish_load) |
2918 | { | 2920 | { |
2919 | if (!bufreadid3(cur_info->id3_hid, ci_id3) || | 2921 | if (!bufreadid3(cur_info->id3_hid, ci_id3) || |
2920 | !audio_init_codec(cur_info, ci_id3)) | 2922 | !audio_init_codec(cur_info, ci_id3)) |