From 47f365419f7903671f1e18ddf9d2ede4ae61e833 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 17 Oct 2013 12:28:32 +0000 Subject: Fix #37117: MCE prefetching fails with non-ascii characters in path --- source/blender/editors/space_clip/clip_editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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; } -- cgit v1.2.3