From 852393009ad8558dab29751b3cbef263668ebe66 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 13 May 2017 12:53:03 +0100 Subject: Fix ridiculous thinko in avio_open_boost. --- src/lib/cross.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/cross.cc b/src/lib/cross.cc index 466667803..a12db7ca6 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -417,10 +417,10 @@ avio_open_boost (AVIOContext** s, boost::filesystem::path file, int flags) int const length = (file.string().length() + 1) * 2; char* utf8 = new char[length]; WideCharToMultiByte (CP_UTF8, 0, file.c_str(), -1, utf8, length, 0, 0); - int const r = avio_open_boost (s, file.c_str(), flags); + int const r = avio_open (s, file.c_str(), flags); delete[] utf8; return r; #else - return avio_open_boost (s, file.c_str(), flags); + return avio_open (s, file.c_str(), flags); #endif } -- cgit v1.2.3