annotate loader/wine/poppack.h @ 31599:cafeb7863de8

Add support for PGS subtitle decoding via libavcodec.
author reimar
date Sat, 10 Jul 2010 13:45:09 +0000
parents a8ea87c71d18
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25548
diff changeset
1 #ifdef MPLAYER_PSHPACK_H
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25548
diff changeset
2 #undef MPLAYER_PSHPACK_H
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
21290
efc774a1e5a4 fix compilation for win32 dll codec support for intel osx
nplourde
parents: 1
diff changeset
4 #if (defined(__GNUC__) || defined(__SUNPRO_C)) && !defined(__APPLE__)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 #pragma pack()
21290
efc774a1e5a4 fix compilation for win32 dll codec support for intel osx
nplourde
parents: 1
diff changeset
6 #elif defined(__SUNPRO_CC) || defined(__APPLE__)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 #warning "Assumes default alignment is 4"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 #pragma pack(4)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 #elif !defined(RC_INVOKED)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 #error "Restoration of the previous alignment isn't supported by the compiler"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 #endif /* defined(__GNUC__) || defined(__SUNPRO_C) ; !defined(RC_INVOKED) */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25548
diff changeset
13 #else /* MPLAYER_PSHPACK_H */
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 #error "Popping alignment isn't possible since no alignment has been pushed"
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25548
diff changeset
15 #endif /* MPLAYER_PSHPACK_H */