Commit aa5564c3 authored by bcoudurier's avatar bcoudurier

cosmetics remove struct name with typedef

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9194 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b6b6e505
...@@ -63,14 +63,14 @@ enum MXFMetadataSetType { ...@@ -63,14 +63,14 @@ enum MXFMetadataSetType {
CryptoContext, CryptoContext,
}; };
typedef struct MXFCryptoContext { typedef struct {
UID uid; UID uid;
enum MXFMetadataSetType type; enum MXFMetadataSetType type;
UID context_uid; UID context_uid;
UID source_container_ul; UID source_container_ul;
} MXFCryptoContext; } MXFCryptoContext;
typedef struct MXFStructuralComponent { typedef struct {
UID uid; UID uid;
enum MXFMetadataSetType type; enum MXFMetadataSetType type;
UID source_package_uid; UID source_package_uid;
...@@ -80,7 +80,7 @@ typedef struct MXFStructuralComponent { ...@@ -80,7 +80,7 @@ typedef struct MXFStructuralComponent {
int source_track_id; int source_track_id;
} MXFStructuralComponent; } MXFStructuralComponent;
typedef struct MXFSequence { typedef struct {
UID uid; UID uid;
enum MXFMetadataSetType type; enum MXFMetadataSetType type;
UID data_definition_ul; UID data_definition_ul;
...@@ -89,7 +89,7 @@ typedef struct MXFSequence { ...@@ -89,7 +89,7 @@ typedef struct MXFSequence {
int64_t duration; int64_t duration;
} MXFSequence; } MXFSequence;
typedef struct MXFTrack { typedef struct {
UID uid; UID uid;
enum MXFMetadataSetType type; enum MXFMetadataSetType type;
MXFSequence *sequence; /* mandatory, and only one */ MXFSequence *sequence; /* mandatory, and only one */
...@@ -99,7 +99,7 @@ typedef struct MXFTrack { ...@@ -99,7 +99,7 @@ typedef struct MXFTrack {
AVRational edit_rate; AVRational edit_rate;
} MXFTrack; } MXFTrack;
typedef struct MXFDescriptor { typedef struct {
UID uid; UID uid;
enum MXFMetadataSetType type; enum MXFMetadataSetType type;
UID essence_container_ul; UID essence_container_ul;
...@@ -117,7 +117,7 @@ typedef struct MXFDescriptor { ...@@ -117,7 +117,7 @@ typedef struct MXFDescriptor {
int extradata_size; int extradata_size;
} MXFDescriptor; } MXFDescriptor;
typedef struct MXFPackage { typedef struct {
UID uid; UID uid;
enum MXFMetadataSetType type; enum MXFMetadataSetType type;
UID package_uid; UID package_uid;
...@@ -132,7 +132,7 @@ typedef struct { ...@@ -132,7 +132,7 @@ typedef struct {
enum MXFMetadataSetType type; enum MXFMetadataSetType type;
} MXFMetadataSet; } MXFMetadataSet;
typedef struct MXFContext { typedef struct {
UID *packages_refs; UID *packages_refs;
int packages_count; int packages_count;
MXFMetadataSet **metadata_sets; MXFMetadataSet **metadata_sets;
...@@ -141,7 +141,7 @@ typedef struct MXFContext { ...@@ -141,7 +141,7 @@ typedef struct MXFContext {
struct AVAES *aesc; struct AVAES *aesc;
} MXFContext; } MXFContext;
typedef struct KLVPacket { typedef struct {
UID key; UID key;
offset_t offset; offset_t offset;
uint64_t length; uint64_t length;
...@@ -152,18 +152,18 @@ enum MXFWrappingScheme { ...@@ -152,18 +152,18 @@ enum MXFWrappingScheme {
Clip, Clip,
}; };
typedef struct MXFCodecUL { typedef struct {
UID uid; UID uid;
enum CodecID id; enum CodecID id;
enum MXFWrappingScheme wrapping; enum MXFWrappingScheme wrapping;
} MXFCodecUL; } MXFCodecUL;
typedef struct MXFDataDefinitionUL { typedef struct {
UID uid; UID uid;
enum CodecType type; enum CodecType type;
} MXFDataDefinitionUL; } MXFDataDefinitionUL;
typedef struct MXFMetadataReadTableEntry { typedef struct {
const UID key; const UID key;
int (*read)(); int (*read)();
int ctx_size; int ctx_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment