diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-09-27 10:19:53 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-06 09:27:11 +0200 |
commit | e4cbf7529ba4bcfff47c44b0d026ecb356004c8c (patch) | |
tree | a1c3a3fb245220594acbf15f7c9ec7344bb03db7 /libavformat/nut.h | |
parent | 76f644d9f7f511a4e8dbc4938d40c43b49383c22 (diff) | |
download | ffmpeg-e4cbf7529ba4bcfff47c44b0d026ecb356004c8c.tar.gz |
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
Diffstat (limited to 'libavformat/nut.h')
-rw-r--r-- | libavformat/nut.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/nut.h b/libavformat/nut.h index 419b123bee..3f09689bd1 100644 --- a/libavformat/nut.h +++ b/libavformat/nut.h @@ -53,14 +53,14 @@ typedef enum{ FLAG_INVALID =8192, ///<if set, frame_code is invalid } Flag; -typedef struct { +typedef struct Syncpoint { uint64_t pos; uint64_t back_ptr; // uint64_t global_key_pts; int64_t ts; } Syncpoint; -typedef struct { +typedef struct FrameCode { uint16_t flags; uint8_t stream_id; uint16_t size_mul; @@ -70,7 +70,7 @@ typedef struct { uint8_t header_idx; } FrameCode; -typedef struct { +typedef struct StreamContext { int last_flags; int skip_until_key_frame; int64_t last_pts; @@ -81,11 +81,11 @@ typedef struct { int decode_delay; //FIXME duplicate of has_b_frames } StreamContext; -typedef struct { +typedef struct ChapterContext { AVRational *time_base; } ChapterContext; -typedef struct { +typedef struct NUTContext { AVFormatContext *avf; // int written_packet_size; // int64_t packet_start; @@ -106,7 +106,7 @@ typedef struct { extern const AVCodecTag ff_nut_subtitle_tags[]; extern const AVCodecTag ff_nut_video_tags[]; -typedef struct { +typedef struct Dispositions { char str[9]; int flag; } Dispositions; |