• James Almer's avatar
    lavf: use the new bitstream filter for extracting extradata · b8f26779
    James Almer authored
    This merges commits 8e2ea691 and
    096a8eff by Anton Khirnov, with the
    following change:
    
    - extract_extradata_check() is added to know if the codec is supported
    by the bsf before trying to initialize it. This behaviour is similar to
    the old AVCodecParser.split checks.
    
    The FATE reference changes are due to the filtered out NAL units that
    the old AVCodecParser.split implementation left alone.
    Decoding is unchanged as the functions that parse extradata simply
    ignored said unnecessary NAL units.
    Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
    b8f26779
copy-trac2211-avi 2.87 KB