Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Subtitles/RTS.cpp')
-rw-r--r--src/Subtitles/RTS.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Subtitles/RTS.cpp b/src/Subtitles/RTS.cpp
index 89f0ed5c6..ead1d5f32 100644
--- a/src/Subtitles/RTS.cpp
+++ b/src/Subtitles/RTS.cpp
@@ -26,6 +26,7 @@
#include "ColorConvTable.h"
#include "RTS.h"
#include "../DSUtil/PathUtils.h"
+#include "../DSUtil/ISOLang.h"
// WARNING: this isn't very thread safe, use only one RTS a time. We should use TLS in future.
static HDC g_hDC;
@@ -3219,9 +3220,9 @@ STDMETHODIMP CRenderedTextSubtitle::GetStreamInfo(int iStream, WCHAR** ppName, L
}
if (pLCID) {
- *pLCID = ISO6391ToLcid(CW2A(m_name));
+ *pLCID = ISOLang::ISO6391ToLcid(CW2A(m_name));
if (*pLCID == 0) {
- *pLCID = ISO6392ToLcid(CW2A(m_name));
+ *pLCID = ISOLang::ISO6392ToLcid(CW2A(m_name));
}
}