summaryrefslogtreecommitdiff
path: root/drivers/vorbis
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-08-23 20:22:08 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-08-23 20:22:08 -0300
commit4b40f9228bdfe8573a2d70a6cd76404df117c8b9 (patch)
treefba6e0bf34f1164c966667fd77995e79f2a0ec5d /drivers/vorbis
parent07e97414250827c3b930befa123a4bbd48d24861 (diff)
parente1e54d39e456c32c43442f3a7f5389597e535930 (diff)
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'drivers/vorbis')
-rw-r--r--drivers/vorbis/audio_stream_ogg_vorbis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vorbis/audio_stream_ogg_vorbis.cpp b/drivers/vorbis/audio_stream_ogg_vorbis.cpp
index a9fefc1422..ee9ba8da4d 100644
--- a/drivers/vorbis/audio_stream_ogg_vorbis.cpp
+++ b/drivers/vorbis/audio_stream_ogg_vorbis.cpp
@@ -232,7 +232,7 @@ void AudioStreamOGGVorbis::seek_pos(float p_time) {
if (!playing)
return;
- bool ok = ov_time_seek(&vf,p_time*1000)==0;
+ bool ok = ov_time_seek(&vf,p_time)==0;
ERR_FAIL_COND(!ok);
frames_mixed=stream_srate*p_time;
}