From 11ba44870ba9aadfdbccc8aa42186e360c3d6444 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 27 Oct 2016 20:25:12 +0200 Subject: [PATCH] decoder/sidplay: simplify seek loop --- src/decoder/plugins/SidplayDecoderPlugin.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/decoder/plugins/SidplayDecoderPlugin.cxx b/src/decoder/plugins/SidplayDecoderPlugin.cxx index db4070bfb..794a5dab8 100644 --- a/src/decoder/plugins/SidplayDecoderPlugin.cxx +++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx @@ -376,12 +376,9 @@ sidplay_file_decode(Decoder &decoder, Path path_fs) } /* ignore data until target time is reached */ - while(data_time 0) data_time = player.time(); - } decoder_command_finished(decoder); }