Mercurial > mplayer.hg
view gui/bitmap.h @ 25795:e96b4070ba66
Clear tmp between ip6 check and string escape to prevent reuse of the
buffer, in order to prevent a possible buffer overflow on malformed
urls.
Based on a patch by Adam Bozanich abozanich musecurity com
author | rtogni |
---|---|
date | Sun, 20 Jan 2008 20:43:46 +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 */