Mercurial > mplayer.hg
view gui/bitmap.h @ 25630:bdb0a9df0025
Codecdata must always be malloc'd, fixes free being called with an
invalid pointer when freeing codecdata.
author | reimar |
---|---|
date | Wed, 09 Jan 2008 07:18:14 +0000 |
parents | 9d0b189ce1b2 |
children | 4129c8cfa742 |
line wrap: on
line source
#ifndef GUI_BITMAP_H #define GUI_BITMAP_H typedef struct txSample { unsigned long Width; unsigned long Height; unsigned int BPP; unsigned long ImageSize; char * Image; } txSample; int bpRead( char * fname, txSample * bf ); void Convert32to1( txSample * in,txSample * out,int adaptivlimit ); #endif /* GUI_BITMAP_H */