Fix #37117: MCE prefetching fails with non-ascii characters in path

This commit is contained in:
Sergey Sharybin
2013-10-17 12:28:32 +00:00
parent c4e7a22958
commit 47f365419f

View File

@@ -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;
}