diff options
author | qarmin <mikrutrafal54@gmail.com> | 2019-04-08 11:03:37 +0200 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2019-04-08 11:03:37 +0200 |
commit | 856a8226a5306632f5dd4d9e9c916d89e3e21495 (patch) | |
tree | f5ed5052dfc9d6793b78b2353ba84732676beb08 /modules/gdnative | |
parent | c2c11fc063e723c41579e6307e40fd16ac5334c4 (diff) |
Small fixes, mostly dupicated code
Diffstat (limited to 'modules/gdnative')
-rw-r--r-- | modules/gdnative/videodecoder/video_stream_gdnative.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/videodecoder/video_stream_gdnative.cpp b/modules/gdnative/videodecoder/video_stream_gdnative.cpp index 8fcebe7855..9bb1186269 100644 --- a/modules/gdnative/videodecoder/video_stream_gdnative.cpp +++ b/modules/gdnative/videodecoder/video_stream_gdnative.cpp @@ -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 |