diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-09-27 12:19:53 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-06 11:27:11 +0400 |
commit | e4cbf7529ba4bcfff47c44b0d026ecb356004c8c (patch) | |
tree | a1c3a3fb245220594acbf15f7c9ec7344bb03db7 /libavformat/asf.h | |
parent | 76f644d9f7f511a4e8dbc4938d40c43b49383c22 (diff) |
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
Diffstat (limited to 'libavformat/asf.h')
-rw-r--r-- | libavformat/asf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/asf.h b/libavformat/asf.h index b72445def9..1d94a2c924 100644 --- a/libavformat/asf.h +++ b/libavformat/asf.h @@ -27,7 +27,7 @@ #define PACKET_SIZE 3200 -typedef struct { +typedef struct ASFStream { int num; unsigned char seq; /* use for reading */ @@ -50,7 +50,7 @@ typedef struct { typedef uint8_t ff_asf_guid[16]; -typedef struct { +typedef struct ASFMainHeader { ff_asf_guid guid; ///< generated by client computer uint64_t file_size; /**< in bytes * invalid if broadcasting */ @@ -76,7 +76,7 @@ typedef struct { } ASFMainHeader; -typedef struct { +typedef struct ASFIndex { uint32_t packet_number; uint16_t packet_count; } ASFIndex; |