1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Small fixes, mostly dupicated code

This commit is contained in:
qarmin
2019-04-08 11:03:37 +02:00
parent c2c11fc063
commit 856a8226a5
29 changed files with 32 additions and 60 deletions

View File

@@ -61,8 +61,8 @@ int64_t GDAPI godot_videodecoder_file_seek(void *ptr, int64_t pos, int whence) {
// file
FileAccess *file = reinterpret_cast<FileAccess *>(ptr);
size_t len = file->get_len();
if (file) {
size_t len = file->get_len();
switch (whence) {
case SEEK_SET: {
// Just for explicitness