iOS/buildlibs/armv7/allegro-4.4.2/addons/jpgalleg/src/io.c
/* _jpeg_new_chunk:
 *  Creates a new chunk for writing.
 */
Creates a new chunk for writing.
Creates a new chunk for writing .
void
_jpeg_new_chunk(int type)
{
	char *c = (char *)malloc(65536);
	c[0] = 0xff;
	c[1] = type;
	chunk_len = 2;
	chunk = c;
}
void _jpeg_new_chunk ( int type ) { char * c = ( char * ) malloc ( 65536 ) ; c [ 0 ] = 0xff ; c [ 1 ] = type ; chunk_len = 2 ; chunk = c ; }
_jpeg_new_chunk:
  Creates a new chunk for writing.
_jpeg_new_chunk : Creates a new chunk for writing .