Mercurial > mplayer.hg
view loader/wine/pshpack2.h @ 5239:fe6b890f68f2
Fix crash when playing multiple files. The bug was triggered when the first file
had rgb data and the second had yuv data and sdl:aalib was used. Some code
duplication removed in the process.
author | ksorim |
---|---|
date | Thu, 21 Mar 2002 10:22:55 +0000 |
parents | 3b5f5d1c5041 |
children | c98c9e7f3bd0 |
line wrap: on
line source
#ifndef __WINE_PSHPACK_H #define __WINE_PSHPACK_H 2 #if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) //#pragma pack(2) #elif !defined(RC_INVOKED) #error "2 as alignment isn't supported by the compiler" #endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */ #else /* !defined(__WINE_PSHPACK_H) */ #error "Nested pushing of alignment isn't supported by the compiler" #endif /* !defined(__WINE_PSHPACK_H) */