avcodec: reject audio packets with NULL data and non-zero size
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.
Showing
Please
register
or
sign in
to comment