Introduce av_realloc_f.
authorNicolas George <nicolas.george@normalesup.org>
Sun, 20 Mar 2011 18:39:20 +0000 (19:39 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 28 Sep 2011 16:13:52 +0000 (18:13 +0200)
commit5cd754bca290775ec2dbbf88597ab58e0482efca
treec946720bf6f447ab32fedefe664f22ae053fd19e
parentb2600509fef4d77645491f208b8113c372a32110
Introduce av_realloc_f.

av_realloc_f helps avoiding memory-leaks in typical uses of realloc.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/mem.c
libavutil/mem.h