[MPlayer-dev-eng] [PATCH] __attribute in aviheader.h

Oded Shimon ods15 at ods15.dyndns.org
Fri Jul 1 15:36:26 CEST 2005


This is the only __attribute in all of MPlayer's sources, all the rest use 
__attribute__ or just 'attribute'. It breaks compilation with tcc. :P

There's no reason for this inconsistency as far as i can see...

- ods15
-------------- next part --------------
Index: libmpdemux/aviheader.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/aviheader.h,v
retrieving revision 1.13
diff -u -r1.13 aviheader.h
--- libmpdemux/aviheader.h	12 Jul 2004 08:55:10 -0000	1.13
+++ libmpdemux/aviheader.h	30 May 2005 17:01:09 -0000
@@ -143,7 +143,7 @@
 } avistdindex_entry;
 
 // Standard index 
-typedef struct __attribute((packed)) _avistdindex_chunk {
+typedef struct __attribute__((packed)) _avistdindex_chunk {
     char           fcc[4];       // ix##
     uint32_t  dwSize;            // size of this chunk
     uint16_t wLongsPerEntry;     // must be sizeof(aIndex[0])/sizeof(DWORD)


More information about the MPlayer-dev-eng mailing list