From 0b4fa41aff35ac8d190e5daaeed12f12614a0e9c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 11 May 2014 18:34:09 +0200 Subject: InputStream: "protect" attributes --- src/decoder/plugins/VorbisDecoderPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder/plugins/VorbisDecoderPlugin.cxx') diff --git a/src/decoder/plugins/VorbisDecoderPlugin.cxx b/src/decoder/plugins/VorbisDecoderPlugin.cxx index fd110f457..d1cf6fae4 100644 --- a/src/decoder/plugins/VorbisDecoderPlugin.cxx +++ b/src/decoder/plugins/VorbisDecoderPlugin.cxx @@ -88,7 +88,7 @@ static long ogg_tell_cb(void *data) { struct vorbis_input_stream *vis = (struct vorbis_input_stream *)data; - return (long)vis->input_stream->offset; + return (long)vis->input_stream->GetOffset(); } static const ov_callbacks vorbis_is_callbacks = { -- cgit v1.2.3