libFLAC: Removed useless comparison

This commit is contained in:
Andrey Astafyev
2019-11-30 10:43:10 +03:00
committed by Erik de Castro Lopo
parent 53953b6795
commit ec35d55561

View File

@@ -3317,7 +3317,7 @@ FLAC__bool seek_to_absolute_sample_ogg_(FLAC__StreamDecoder *decoder, FLAC__uint
} }
left_pos = pos; left_pos = pos;
} }
else if(this_frame_sample > target_sample) { else {
right_sample = this_frame_sample; right_sample = this_frame_sample;
/* sanity check to avoid infinite loop */ /* sanity check to avoid infinite loop */
if (right_pos == pos) { if (right_pos == pos) {