Commit 03dbb26a authored by Josh Coalson's avatar Josh Coalson
Browse files

remove unneeded SEEK_ERROR setting

parent 05c9b403
......@@ -655,7 +655,6 @@ OggFLAC_API FLAC__bool OggFLAC__stream_decoder_seek_absolute(OggFLAC__StreamDeco
}
/* check this again in case we didn't know total_samples the first time */
if(OggFLAC__stream_decoder_get_total_samples(decoder) > 0 && sample >= OggFLAC__stream_decoder_get_total_samples(decoder)) {
decoder->protected_->state = OggFLAC__STREAM_DECODER_SEEK_ERROR;
decoder->private_->is_seeking = false;
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment