• Vittorio Giovara's avatar
    mov: Support fake moov boxes disguised as hoov · a13841b7
    Vittorio Giovara authored
    Some broken apps generate files that have a fake box named 'hoov'
    instead of a proper 'moov' one. This is speculation but it seems like
    this box contains data to be modified later (eg as file grows in size,
    data gets re-written) and its name is supposed to be changed to 'moov'
    once it can be used as a 'moov', but for some reason this step is skipped.
    
    Since this is not the first time this happens ('moov' boxes can be found
    in 'free' ones) extend the existing hacks to search for the moov in such
    boxes and skip the moov_retry since it needs to be found right away.
    Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
    a13841b7
mov.c 279 KB