diff options
Diffstat (limited to 'modules/webm/video_stream_webm.cpp')
| -rw-r--r-- | modules/webm/video_stream_webm.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/webm/video_stream_webm.cpp b/modules/webm/video_stream_webm.cpp index 101001cba0..34addb5c9f 100644 --- a/modules/webm/video_stream_webm.cpp +++ b/modules/webm/video_stream_webm.cpp @@ -62,10 +62,10 @@ public:  	virtual int Read(long long pos, long len, unsigned char *buf) {  		if (file) { -			if (file->get_position() != (size_t)pos) { +			if (file->get_position() != (uint64_t)pos) {  				file->seek(pos);  			} -			if (file->get_buffer(buf, len) == len) { +			if (file->get_buffer(buf, len) == (uint64_t)len) {  				return 0;  			}  		} @@ -74,7 +74,7 @@ public:  	virtual int Length(long long *total, long long *available) {  		if (file) { -			const size_t len = file->get_len(); +			const uint64_t len = file->get_length();  			if (total) {  				*total = len;  			} @@ -194,7 +194,7 @@ float VideoStreamPlaybackWebm::get_playback_position() const {  }  void VideoStreamPlaybackWebm::seek(float p_time) { -	//Not implemented +	WARN_PRINT_ONCE("Seeking in Theora and WebM videos is not implemented yet (it's only supported for GDNative-provided video streams).");  }  void VideoStreamPlaybackWebm::set_audio_track(int p_idx) {  |