diff options
Diffstat (limited to 'src/inputPlugins')
-rw-r--r-- | src/inputPlugins/mp3_plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index 10a914a91..5bbd7601f 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -880,13 +880,13 @@ static int mp3Read(mp3DecodeData * data, ReplayGainInfo ** replayGainInfo) data->muteFrame = 0; break; case MUTEFRAME_SEEK: - dc_action_begin(); - assert(dc.action == DC_ACTION_SEEK); if (dc.seek_where <= data->elapsedTime) { + dc_action_begin(); + assert(dc.action == DC_ACTION_SEEK); data->outputPtr = data->outputBuffer; data->muteFrame = 0; + dc_action_end(); } - dc_action_end(); break; default: mad_synth_frame(&data->synth, &data->frame); |