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)
committerJanne Grunau <janne-ffmpeg@jannau.net>
Mon, 24 Jan 2011 20:25:43 +0000 (21:25 +0100)
commit4be170c9371dfd3ae07a348b449002fc1d2b70e4
tree9eab366555c6353c25750cd6e37e296e0d9414cc
parent032f4068646d6d29f4657eeb69425ec349dcaa7c
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).
(cherry picked from commit e7b95918fca1c3d057d35f77ba58ee2d00d03151)
libavcodec/nuv.c