srtp: Improve the minimum encryption buffer size check
authorMartin Storsjö <martin@martin.st>
Fri, 18 Jan 2013 10:33:02 +0000 (12:33 +0200)
committerMartin Storsjö <martin@martin.st>
Sun, 20 Jan 2013 22:13:43 +0000 (00:13 +0200)
commita2a991b2ddf951454ffceb7bcedc9db93e26c610
tree4833193e7703cdf16a558813ff8fd4a2d5e385f1
parente1d0b3d875a2ec713239eda2c3bd79249b9631c7
srtp: Improve the minimum encryption buffer size check

This clarifies where the limit number comes from, and only
requires exactly as much padding space as will be needed.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/srtp.c