• Philip Langdale's avatar
    CrystalHD: Back up extradata to allow decoder reinit to work. · 9bf9c314
    Philip Langdale authored
    
    
    This was a regression that came in when I switched to using the
    h.264 annex b filter all the time. As the filter modifies extradata,
    its use violates the statelessness assumption that exists in the
    'ffmpeg' command line tool, and maybe elsewhere. It assumes that
    a docoder can be reinitalised and pointed to an existing stream and
    get the same results.
    
    For now, the only way to meet this requirement is to backup the
    extradata.
    
    Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
    9bf9c314