diff options
author | Martin Storsjö <martin@martin.st> | 2013-01-18 12:35:31 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-21 00:13:43 +0200 |
commit | b4bb1d493c44853e0140b26eb2c0bbaac15e0db3 (patch) | |
tree | 6591fd30801318e4884e30f95c790e1bd562ec97 /libavutil | |
parent | a2a991b2ddf951454ffceb7bcedc9db93e26c610 (diff) | |
download | ffmpeg-b4bb1d493c44853e0140b26eb2c0bbaac15e0db3.tar.gz |
srtp: Don't require more input data than what actually is needed
The theoretical minimum for a (not totally well formed) RTCP packet
is 8 bytes, so we shouldn't require 12 bytes as minimum input.
Also return AVERROR_INVALIDDATA instead of 0 if something that is
not a proper packet is given.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil')
0 files changed, 0 insertions, 0 deletions