• Janne Grunau's avatar
    h264: enable low delay only if no delayed frames were seen · 706acb55
    Janne Grunau authored
    Dropping frames is undesirable but that is the only way by which the
    decoder could return to low delay mode. Instead emit a warning and
    continue with delayed frames.
    Fixes a crash in fuzzed sample nasa-8s2.ts_s20033 caused by a larger
    than expected has_b_frames value. Low delay keeps getting re-enabled
    from a presumely broken SPS.
    
    CC: libav-stable@libav.org
    706acb55