Avoid POSIX-reserved _t namespace.
authorDiego Biurrun <diego@biurrun.de>
Fri, 2 Jan 2009 16:19:27 +0000 (16:19 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 2 Jan 2009 16:19:27 +0000 (16:19 +0000)
Originally committed as revision 16407 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/svq1.c
libavcodec/svq1.h

index a499183..790bbb3 100644 (file)
@@ -37,7 +37,7 @@
 #include "svq1_vlc.h"
 
 /* standard video sizes */
-const svq1_frame_size_t ff_svq1_frame_size_table[8] = {
+const struct svq1_frame_size ff_svq1_frame_size_table[8] = {
   { 160, 120 }, { 128,  96 }, { 176, 144 }, { 352, 288 },
   { 704, 576 }, { 240, 180 }, { 320, 240 }, {  -1,  -1 }
 };
index a8469d9..a4b5a16 100644 (file)
 #define SVQ1_BLOCK_INTER_4V     2
 #define SVQ1_BLOCK_INTRA        3
 
-typedef struct {
+struct svq1_frame_size {
     int width;
     int height;
-} svq1_frame_size_t;
+};
 
 uint16_t ff_svq1_packet_checksum (const uint8_t *data, const int length,
                                   int value);
@@ -59,6 +59,6 @@ extern const uint8_t ff_svq1_inter_multistage_vlc[6][8][2];
 extern const uint16_t ff_svq1_intra_mean_vlc[256][2];
 extern const uint16_t ff_svq1_inter_mean_vlc[512][2];
 
-extern const svq1_frame_size_t ff_svq1_frame_size_table[8];
+extern const struct svq1_frame_size ff_svq1_frame_size_table[8];
 
 #endif /* AVCODEC_SVQ1_H */