diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-12-12 16:21:23 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-12-12 16:21:23 +0000 |
commit | fe5c7e588db7c2bd37f095e2276c6a296a5a9d2a (patch) | |
tree | cde4b8500e1aa18989be479253a87697629277a6 /libavcodec/huffyuv.c | |
parent | 737dccfc1d00d43b6a3a4599aa96363629820c69 (diff) | |
download | ffmpeg-fe5c7e588db7c2bd37f095e2276c6a296a5a9d2a.tar.gz |
More POSIX _t namespace cleanup.
Originally committed as revision 16082 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/huffyuv.c')
-rw-r--r-- | libavcodec/huffyuv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index cf90adc701..bf13e4479c 100644 --- a/libavcodec/huffyuv.c +++ b/libavcodec/huffyuv.c @@ -265,16 +265,16 @@ static int generate_bits_table(uint32_t *dst, uint8_t *len_table){ typedef struct { uint64_t val; int name; -} heap_elem_t; +} HeapElem; -static void heap_sift(heap_elem_t *h, int root, int size) +static void heap_sift(HeapElem *h, int root, int size) { while(root*2+1 < size) { int child = root*2+1; if(child < size-1 && h[child].val > h[child+1].val) child++; if(h[root].val > h[child].val) { - FFSWAP(heap_elem_t, h[root], h[child]); + FFSWAP(HeapElem, h[root], h[child]); root = child; } else break; @@ -282,7 +282,7 @@ static void heap_sift(heap_elem_t *h, int root, int size) } static void generate_len_table(uint8_t *dst, uint64_t *stats, int size){ - heap_elem_t h[size]; + HeapElem h[size]; int up[2*size]; int len[2*size]; int offset, i, next; |