nuv: Use av_fast_realloc
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 13 Aug 2013 05:01:40 +0000 (07:01 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 16 Oct 2013 21:05:51 +0000 (23:05 +0200)
commitc1ebdef01b016b24b8ec322efdbc31da2639addd
treeaa9ef02a9530a21fb4bd90c86713f413fdef6ea8
parentd2eddcfc833fc55dfa447376f4c30e46851c3242
nuv: Use av_fast_realloc

The decompressed buffer can be used after codec_reinit, so it must be
preserved.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 2df0776c2293efb0ac12c003843ce19332342e01)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Conflicts:
libavcodec/nuv.c
libavcodec/nuv.c