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

Small fixes, mostly dupicated code

(cherry picked from commit 856a8226a5)
This commit is contained in:
qarmin
2019-04-08 11:03:37 +02:00
committed by Rémi Verschelde
parent a2cf479f07
commit 3b703d6707
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