mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/11/head
parent
a2a991b2dd
commit
b4bb1d493c
1 changed files with 6 additions and 2 deletions
Loading…
Reference in new issue