X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplanar.c;h=c15c39c5d3e92d9106970d984233861a891ed890;hb=bc10e84da5198561bb96cf8eb459f59b8b0739ec;hp=52055cf49654960f99ba080d90db8bee070fb22a;hpb=29050ce6a22ce3d6c47183d6946e81ea25b6b5c7;p=16.git diff --git a/src/lib/planar.c b/src/lib/planar.c index 52055cf4..c15c39c5 100755 --- a/src/lib/planar.c +++ b/src/lib/planar.c @@ -28,8 +28,6 @@ #include "src/lib/planar.h" -extern byte *modexNewPal(); - /* creates a planar buffer from the bitmap data. The planar buffer is dynamically allocated, and should be destroyed with the planar_buf_free function when no longer @@ -89,7 +87,7 @@ planar_buf_alloc(word width, word height) { /* allocate the planes */ for(i=0; i<4; i++) { - p->plane[i] = malloc(p->height * p->pwidth); + p->plane[i] = malloc(p->height * p->pwidth); } return p;