summaryrefslogtreecommitdiff
path: root/libavcodec/idcinvideo.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2008-12-14 03:29:33 +0000
committerMike Melanson <mike@multimedia.cx>2008-12-14 03:29:33 +0000
commit02fb2546e85c8a9aaa1a595439d7b1cfbe2fcb0d (patch)
tree291c85089fe534b6509de335fa66dfeb7dda1cf7 /libavcodec/idcinvideo.c
parent5e6604490abfc03a1209698111a1dace1e970062 (diff)
downloadffmpeg-02fb2546e85c8a9aaa1a595439d7b1cfbe2fcb0d.tar.gz
The POSIX namespace shall be held sacrosanct. To that end,
continue eliminating _t from structure names in FFmpeg. Originally committed as revision 16118 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/idcinvideo.c')
-rw-r--r--libavcodec/idcinvideo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c
index 43889a6714..fa3bb16d8c 100644
--- a/libavcodec/idcinvideo.c
+++ b/libavcodec/idcinvideo.c
@@ -60,7 +60,7 @@ typedef struct
int count;
unsigned char used;
int children[2];
-} hnode_t;
+} hnode;
typedef struct IdcinContext {
@@ -70,7 +70,7 @@ typedef struct IdcinContext {
const unsigned char *buf;
int size;
- hnode_t huff_nodes[256][HUF_TOKENS*2];
+ hnode huff_nodes[256][HUF_TOKENS*2];
int num_huff_nodes[256];
} IdcinContext;
@@ -81,7 +81,7 @@ typedef struct IdcinContext {
* Returns the node index of the lowest unused node, or -1 if all nodes
* are used.
*/
-static int huff_smallest_node(hnode_t *hnodes, int num_hnodes) {
+static int huff_smallest_node(hnode *hnodes, int num_hnodes) {
int i;
int best, best_node;
@@ -114,7 +114,7 @@ static int huff_smallest_node(hnode_t *hnodes, int num_hnodes) {
* That is: huff_nodes[prev][num_huff_nodes[prev]] is the root node.
*/
static av_cold void huff_build_tree(IdcinContext *s, int prev) {
- hnode_t *node, *hnodes;
+ hnode *node, *hnodes;
int num_hnodes, i;
num_hnodes = HUF_TOKENS;
@@ -173,7 +173,7 @@ static av_cold int idcin_decode_init(AVCodecContext *avctx)
static void idcin_decode_vlcs(IdcinContext *s)
{
- hnode_t *hnodes;
+ hnode *hnodes;
long x, y;
int prev;
unsigned char v = 0;