Improve mp4 parsing - thx OmrSi :)

This commit is contained in:
niksedk 2021-12-07 07:03:15 +01:00
parent 1001026a70
commit 9ecc6e636b

View File

@ -41,7 +41,11 @@ namespace Nikse.SubtitleEdit.Core.ContainerFormats.Mp4.Boxes
timeScale = Mdhd.TimeScale;
}
Minf = new Minf(fs, Position, timeScale, HandlerType, this);
var tempMinf = new Minf(fs, Position, timeScale, HandlerType, this);
if (tempMinf.Stbl != null)
{
Minf = tempMinf;
}
}
else if (Name == "hdlr")
{