Check return value of posix_memalign and explicitly set pointer to NULL if it
authorPatrik Kullman <patrik@yes.nu>
Sat, 21 Feb 2009 20:38:27 +0000 (20:38 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 21 Feb 2009 20:38:27 +0000 (20:38 +0000)
commita90de11dba816f57d01cf10b02eaaf90de24d5bb
tree31c3f6cfa2ef00d0909b21838a929d899a308005
parent1bbeb06a36ec36ce03e1c882c8e97efdc13c9a9b
Check return value of posix_memalign and explicitly set pointer to NULL if it
fails, patch by Patrik Kullman, patrik yes nu.

Originally committed as revision 17495 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/mem.c