• Janne Grunau's avatar
    mxfdec: hybrid demuxing/seeking solution · f028d4d1
    Janne Grunau authored
    This uses the old demuxing code for OP1a and separate demuxing code for OPAtom.
    Timestamp output is added to the old demuxing code.
    
    The seeking code is made to seek to the start of the desired EditUnit only,
    from which the normal demuxing code takes over (if OP1a). This means we
    do not use delta entries or slices, only StreamOffsets. OPAtom seeking
    basically works like before.
    
    This also makes D-10 seeking behave the same way as OP1a and OPAtom. In other
    words, we allow seeking before the start or past the end for D-10 too.
    
    Based on several patches by Tomas Härdin <tomas.hardin@codemill.se> and
    Reimar Döffinger <Reimar.Doeffinger@gmx.de>.
    
    Changed av_calloc to av_mallocz, added overflow checks.
    f028d4d1
lavf_mxf 2.83 KB