summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/aviio.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-15 21:47:30 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-15 21:47:30 +0000
commitab97dc30efdd5cc1abf8c65b8ce29af364219167 (patch)
tree5ab46b3c21f6e0e4173a79a4151e019b3f2dc17e /src/lib/util/aviio.c
parentd1da89cc7817315f05269205a3f56d36ebba170b (diff)
First pass at modernizing struct definitions.
Diffstat (limited to 'src/lib/util/aviio.c')
-rw-r--r--src/lib/util/aviio.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/lib/util/aviio.c b/src/lib/util/aviio.c
index 3dedeb19a2c..13b34692936 100644
--- a/src/lib/util/aviio.c
+++ b/src/lib/util/aviio.c
@@ -107,8 +107,7 @@
TYPE DEFINITIONS
***************************************************************************/
-typedef struct _avi_chunk avi_chunk;
-struct _avi_chunk
+struct avi_chunk
{
UINT64 offset; /* file offset of chunk header */
UINT64 size; /* size of this chunk */
@@ -117,16 +116,14 @@ struct _avi_chunk
};
-typedef struct _avi_chunk_list avi_chunk_list;
-struct _avi_chunk_list
+struct avi_chunk_list
{
UINT64 offset; /* offset in the file of header */
UINT32 length; /* length of the chunk including header */
};
-typedef struct _huffyuv_table huffyuv_table;
-struct _huffyuv_table
+struct huffyuv_table
{
UINT8 shift[256]; /* bit shift amounts */
UINT32 bits[256]; /* bit match values */
@@ -136,16 +133,14 @@ struct _huffyuv_table
};
-typedef struct _huffyuv_data huffyuv_data;
-struct _huffyuv_data
+struct huffyuv_data
{
UINT8 predictor; /* predictor */
huffyuv_table table[3]; /* array of tables */
};
-typedef struct _avi_stream avi_stream;
-struct _avi_stream
+struct avi_stream
{
UINT32 type; /* subtype of stream */
UINT32 format; /* format of stream data */