/*\r
* Implimentation of the planar buffer files.\r
*/\r
+#include <stdio.h>\r
#include <stdlib.h>\r
+#include <malloc.h>\r
+\r
#include "src/lib/planar.h"\r
\r
/* creates a planar buffer from the bitmap data.\r
\r
/* allocate the planes */\r
for(i=0; i<4; i++) {\r
- p->plane[i] = malloc(p->height * p->pwidth);\r
+ p->plane[i] = malloc(p->height * p->pwidth);\r
}\r
\r
return p;\r