// Name: src/common/imagiff.cpp
// Purpose: wxImage handler for Amiga IFF images
// Author: Steffen Gutmann, Thomas Meyer
-// RCS-ID: $Id$
// Copyright: (c) Steffen Gutmann, 2002
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
IFFImage *m_image; // image data
wxInputStream *m_f; // input stream
unsigned char *databuf;
- unsigned char *picptr;
unsigned char *decomp_mem;
void Destroy();
}
m_image->p = new byte[bmhd_width * bmhd_height * 3];
- byte *picptr = m_image->p;
+ byte *picptr = m_image->p;
if (!picptr) {
Destroy();
return wxIFF_MEMERR;