From ec35d55561f4b81af330652acbdf9e1c3d40af5b Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 30 Nov 2019 10:43:10 +0300 Subject: libFLAC: Removed useless comparison --- src/libFLAC/stream_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c index 7034cce6..a8b5e374 100644 --- a/src/libFLAC/stream_decoder.c +++ b/src/libFLAC/stream_decoder.c @@ -3317,7 +3317,7 @@ FLAC__bool seek_to_absolute_sample_ogg_(FLAC__StreamDecoder *decoder, FLAC__uint } left_pos = pos; } - else if(this_frame_sample > target_sample) { + else { right_sample = this_frame_sample; /* sanity check to avoid infinite loop */ if (right_pos == pos) { -- cgit v1.2.1