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/thirdparty/MediaInfo/File__Analyze_Buffer_MinimizeSize.cpp')
-rw-r--r--src/thirdparty/MediaInfo/File__Analyze_Buffer_MinimizeSize.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/thirdparty/MediaInfo/File__Analyze_Buffer_MinimizeSize.cpp b/src/thirdparty/MediaInfo/File__Analyze_Buffer_MinimizeSize.cpp
index 0aef81bed..39af71502 100644
--- a/src/thirdparty/MediaInfo/File__Analyze_Buffer_MinimizeSize.cpp
+++ b/src/thirdparty/MediaInfo/File__Analyze_Buffer_MinimizeSize.cpp
@@ -1180,6 +1180,13 @@ void File__Analyze::Peek_S2(size_t Bits, int16u &Info)
}
//---------------------------------------------------------------------------
+void File__Analyze::Peek_S3(size_t Bits, int32u &Info)
+{
+ INTEGRITY_INT(Bits<=BS->Remain(), "Size is wrong", BS->Offset_Get())
+ Info=BS->Peek4(Bits);
+}
+
+//---------------------------------------------------------------------------
void File__Analyze::Peek_S4(size_t Bits, int32u &Info)
{
INTEGRITY_INT(Bits<=BS->Remain(), "Size is wrong", BS->Offset_Get())