* This file defines codec related structures needed by the demuxers and decoders
*/
-#ifdef HAVE_ATTRIBUTE_PACKED
-# define ATTR_PACKED __attribute__((__packed__))
-#else
-# error FIXME
-#endif
-
/* Structures exported to the demuxers and decoders */
#if !(defined _GUID_DEFINED || defined GUID_DEFINED)
} GUID, *REFGUID, *LPGUID;
#endif /* GUID_DEFINED */
+#ifdef HAVE_ATTRIBUTE_PACKED
+# define ATTR_PACKED __attribute__((__packed__))
+#elif defined(__SUNPRO_C)
+# pragma pack(1)
+# define ATTR_PACKED
+#else
+# error FIXME
+#endif
+
#ifndef _WAVEFORMATEX_
#define _WAVEFORMATEX_
typedef struct
} VIDEOINFO;
#endif
+#if defined(__SUNPRO_C)
+# pragma pack()
+#endif
+
/* WAVE format wFormatTag IDs */
#define WAVE_FORMAT_UNKNOWN 0x0000 /* Microsoft Corporation */
#define WAVE_FORMAT_PCM 0x0001 /* Microsoft Corporation */