[FFmpeg-cvslog] r16407 - in trunk/libavcodec: svq1.c svq1.h

diego subversion
Fri Jan 2 17:19:27 CET 2009


Author: diego
Date: Fri Jan  2 17:19:27 2009
New Revision: 16407

Log:
Avoid POSIX-reserved _t namespace.

Modified:
   trunk/libavcodec/svq1.c
   trunk/libavcodec/svq1.h

Modified: trunk/libavcodec/svq1.c
==============================================================================
--- trunk/libavcodec/svq1.c	Fri Jan  2 12:09:37 2009	(r16406)
+++ trunk/libavcodec/svq1.c	Fri Jan  2 17:19:27 2009	(r16407)
@@ -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 }
 };

Modified: trunk/libavcodec/svq1.h
==============================================================================
--- trunk/libavcodec/svq1.h	Fri Jan  2 12:09:37 2009	(r16406)
+++ trunk/libavcodec/svq1.h	Fri Jan  2 17:19:27 2009	(r16407)
@@ -42,10 +42,10 @@
 #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_multi
 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 */




More information about the ffmpeg-cvslog mailing list