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:
-rw-r--r--src/Subtitles/RTS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Subtitles/RTS.h b/src/Subtitles/RTS.h
index 87b03f264..07bbf2763 100644
--- a/src/Subtitles/RTS.h
+++ b/src/Subtitles/RTS.h
@@ -57,7 +57,7 @@ struct CAlphaMask final : std::unique_ptr<BYTE[]> {
size_t m_size;
explicit CAlphaMask(size_t size)
- : std::unique_ptr<BYTE[]>(std::make_unique<BYTE[]>(size))
+ : std::unique_ptr<BYTE[]>(DEBUG_NEW BYTE[size])
, m_size(size) {
}