Skip to content

Commit f8c5e14

Browse files
x I2199, MP4: fix moov meta support
QuickTime says without version/flag, MP4 says with version flag, and some MP4 files are without version/flag, so checking if the version/flag is present or not
1 parent b657447 commit f8c5e14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/MediaInfo/Multiple/File_Mpeg4_Elements.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -3463,6 +3463,10 @@ void File_Mpeg4::moov_iods()
34633463
void File_Mpeg4::moov_meta()
34643464
{
34653465
Element_Name("Metadata");
3466+
if (!IsQt() && Element_Size>=12 && BigEndian2int32u(Buffer+Buffer_Offset+4)<=Element_Size && BigEndian2int32u(Buffer+Buffer_Offset+8)==Elements::moov_meta_hdlr)
3467+
{
3468+
VERSION_FLAG();
3469+
}
34663470

34673471
//Filling
34683472
moov_meta_hdlr_Type=0;

0 commit comments

Comments
 (0)