You've already forked godot
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user