From 0f0b707fa3e7335b38db60243b360c94a2e56140 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 2 Jan 2009 16:19:27 +0000 Subject: Avoid POSIX-reserved _t namespace. Originally committed as revision 16407 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/svq1.c | 2 +- libavcodec/svq1.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c index a4991837db..790bbb3b74 100644 --- a/libavcodec/svq1.c +++ b/libavcodec/svq1.c @@ -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 --git a/libavcodec/svq1.h b/libavcodec/svq1.h index a8469d920c..a4b5a16115 100644 --- a/libavcodec/svq1.h +++ b/libavcodec/svq1.h @@ -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_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 */ -- cgit v1.2.3