# HG changeset patch # User diego # Date 1230913167 0 # Node ID 8bb3aa9813b52fccd2f3f5c10caef440f63b2b94 # Parent 779a9c93bf61f5e1357c173ba0d060007674fdb2 Avoid POSIX-reserved _t namespace. diff -r 779a9c93bf61 -r 8bb3aa9813b5 svq1.c --- a/svq1.c Tue Dec 30 03:13:52 2008 +0000 +++ b/svq1.c Fri Jan 02 16:19:27 2009 +0000 @@ -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 } }; diff -r 779a9c93bf61 -r 8bb3aa9813b5 svq1.h --- a/svq1.h Tue Dec 30 03:13:52 2008 +0000 +++ b/svq1.h Fri Jan 02 16:19:27 2009 +0000 @@ -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 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 */