Merge pull request #2328 from her001/patch-1

Fix vorbis seek_pos
This commit is contained in:
Juan Linietsky 2015-08-08 11:04:46 -03:00
commit 5e326e4903

View file

@ -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;
}