Fix ridiculous thinko in avio_open_boost.
authorCarl Hetherington <cth@carlh.net>
Sat, 13 May 2017 11:53:03 +0000 (12:53 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 13 May 2017 11:53:03 +0000 (12:53 +0100)
src/lib/cross.cc

index 46666780330ceb8d599fbfc59558d68006795ce0..a12db7ca6126e9c3e49b64e38c49918a5f649c6a 100644 (file)
@@ -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
 }