Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user