Introduce av_size_mult.
authorNicolas George <nicolas.george@normalesup.org>
Sun, 20 Mar 2011 18:39:20 +0000 (19:39 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Oct 2011 18:48:53 +0000 (20:48 +0200)
commit651e21f584d92709d58242dcad49b238e54dfdd5
tree3e6792ca9d8fd0ab07e23a7d9ad4936fd4e6c291
parentfa816e01f401585bcd06e0c3785a8e2270cf37fd
Introduce av_size_mult.

av_size_mult helps checking for overflow when computing the size of a memory
area.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b2600509fef4d77645491f208b8113c372a32110)
libavutil/mem.h