summaryrefslogtreecommitdiff
path: root/cmdutils.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-09-27 10:19:53 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-06 09:27:11 +0200
commite4cbf7529ba4bcfff47c44b0d026ecb356004c8c (patch)
treea1c3a3fb245220594acbf15f7c9ec7344bb03db7 /cmdutils.h
parent76f644d9f7f511a4e8dbc4938d40c43b49383c22 (diff)
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdutils.h b/cmdutils.h
index 7dc9e8f14f..3cf34ffae3 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -121,7 +121,7 @@ typedef struct SpecifierOpt {
} u;
} SpecifierOpt;
-typedef struct {
+typedef struct OptionDef {
const char *name;
int flags;
#define HAS_ARG 0x0001
@@ -356,7 +356,7 @@ int read_yesno(void);
*/
int cmdutils_read_file(const char *filename, char **bufptr, size_t *size);
-typedef struct {
+typedef struct PtsCorrectionContext {
int64_t num_faulty_pts; /// Number of incorrect PTS values so far
int64_t num_faulty_dts; /// Number of incorrect DTS values so far
int64_t last_pts; /// PTS of the last frame