summaryrefslogtreecommitdiff
path: root/libavcodec/dca.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-09-23 21:54:44 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-09-30 11:02:50 -0400
commit6326afd5e90cfed9df08b652a1cd6f6a948c239a (patch)
tree35fb9a339742eeac431f48b9cba460aa18f3d2c4 /libavcodec/dca.c
parentdcce09d64bd13ab13b86307f5a268e5c1e50c7e2 (diff)
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.
Diffstat (limited to 'libavcodec/dca.c')
0 files changed, 0 insertions, 0 deletions