Use av_fast_malloc instead of av_realloc.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 24 Jan 2011 18:35:20 +0000 (19:35 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 24 Jan 2011 18:35:20 +0000 (19:35 +0100)
commite7b95918fca1c3d057d35f77ba58ee2d00d03151
treebba5d59fde02555612ca82ca53b6e6da201019fa
parent7d5082600ee63d879c2a325974ea09c8ace05019
Use av_fast_malloc instead of av_realloc.
This should be faster, is less code and fixes issue 2524
(allocation error would lead to crash).
libavcodec/nuv.c