From 02f78012222b840adc383bdfc53e70a12bbb22ea Mon Sep 17 00:00:00 2001 From: Maxime Gervais Date: Tue, 5 Mar 2024 09:17:28 +0100 Subject: [PATCH] Allow Version=3 for stsd video chunks Signed-off-by: Maxime Gervais --- .../Common/mp4/mp4_moov_trak_mdia_minf_stbl_stsd_xxxxVideo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Common/mp4/mp4_moov_trak_mdia_minf_stbl_stsd_xxxxVideo.cpp b/Source/Common/mp4/mp4_moov_trak_mdia_minf_stbl_stsd_xxxxVideo.cpp index 6451ecd..4fbf43d 100644 --- a/Source/Common/mp4/mp4_moov_trak_mdia_minf_stbl_stsd_xxxxVideo.cpp +++ b/Source/Common/mp4/mp4_moov_trak_mdia_minf_stbl_stsd_xxxxVideo.cpp @@ -31,7 +31,7 @@ void mp4_moov_trak_mdia_minf_stbl_stsd_xxxxVideo::Read_Internal () Skip_XX(6); // Reserved Skip_XX(2); // Data reference index Get_B2(Version); - if (Version>2) + if (Version>3) throw exception_read_block("Can not parse moov trak mdia minf stbl stsd xxxxVideo (version not supported)"); Skip_XX(2); // Revision level Skip_XX(4); // Vendor