diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-10-17 16:28:32 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-10-17 16:28:32 +0400 |
commit | 47f365419f7903671f1e18ddf9d2ede4ae61e833 (patch) | |
tree | 9a841c5686252a76502a8baedf5af578efc61bce /source/blender/editors/space_clip/clip_editor.c | |
parent | c4e7a229589debe81bd4b0eb481a8eb5212ab9bb (diff) |
Fix #37117: MCE prefetching fails with non-ascii characters in path
Diffstat (limited to 'source/blender/editors/space_clip/clip_editor.c')
-rw-r--r-- | source/blender/editors/space_clip/clip_editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c index f393e2b6a07..0e1a2f98d40 100644 --- a/source/blender/editors/space_clip/clip_editor.c +++ b/source/blender/editors/space_clip/clip_editor.c @@ -639,7 +639,7 @@ static unsigned char *prefetch_read_file_to_memory(MovieClip *clip, int current_ BKE_movieclip_filename_for_frame(clip, &user, name); - file = open(name, O_BINARY | O_RDONLY, 0); + file = BLI_open(name, O_BINARY | O_RDONLY, 0); if (file < 0) { return NULL; } |