validate/flow: fix werror build with android clang

../validate/plugins/flow/gstvalidateflow.c:75:3: error: redefinition of typedef 'ValidateFlowOverride' is a C11 feature [-Werror,-Wtypedef-redefinition]
} ValidateFlowOverride;
  ^
../validate/plugins/flow/gstvalidateflow.h:31:23: note: previous definition is here
G_DECLARE_FINAL_TYPE (ValidateFlowOverride, validate_flow_override,
                      ^
This commit is contained in:
Matthew Waters 2019-08-28 17:22:55 +10:00
parent 9249f60b70
commit 993b752816

View file

@ -48,7 +48,7 @@ typedef enum _ValidateFlowMode
VALIDATE_FLOW_MODE_WRITING_ACTUAL_RESULTS
} ValidateFlowMode;
typedef struct _ValidateFlowOverride
struct _ValidateFlowOverride
{
GstValidateOverride parent;
@ -72,7 +72,7 @@ typedef struct _ValidateFlowOverride
FILE *output_file;
GMutex output_file_mutex;
} ValidateFlowOverride;
};
GList *all_overrides = NULL;