remove unneeded SEEK_ERROR setting
authorJosh Coalson <jcoalson@users.sourceforce.net>
Sat, 14 Oct 2006 04:57:57 +0000 (04:57 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Sat, 14 Oct 2006 04:57:57 +0000 (04:57 +0000)
src/libOggFLAC/stream_decoder.c

index 9e211cf..20f9ec8 100644 (file)
@@ -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;
                }