• Justin Ruggles's avatar
    avcodec: reject audio packets with NULL data and non-zero size · 6326afd5
    Justin Ruggles authored
    There is no valid reason the user should ever send such packets in the
    first place, but the documentation for CODEC_CAP_DELAY states that the
    codec is guaranteed not to get a NULL packet unless that capability is
    set. That isn't true without preventing this case.
    6326afd5
utils.c 38.5 KB