From f1027ed198535ce16cfb9c83ac802788ec750488 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 23 Oct 2013 21:22:29 +0200 Subject: InputStream: add method Rewind() --- src/decoder/VorbisDecoderPlugin.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/decoder/VorbisDecoderPlugin.cxx') diff --git a/src/decoder/VorbisDecoderPlugin.cxx b/src/decoder/VorbisDecoderPlugin.cxx index 105ca018e..c1d3566e1 100644 --- a/src/decoder/VorbisDecoderPlugin.cxx +++ b/src/decoder/VorbisDecoderPlugin.cxx @@ -50,7 +50,6 @@ #include #include -#include struct vorbis_input_stream { Decoder *decoder; @@ -184,7 +183,7 @@ vorbis_stream_decode(Decoder &decoder, /* rewind the stream, because ogg_codec_detect() has moved it */ - input_stream->LockSeek(0, SEEK_SET, IgnoreError()); + input_stream->LockRewind(IgnoreError()); struct vorbis_input_stream vis; OggVorbis_File vf; -- cgit v1.2.3