summaryrefslogtreecommitdiff
path: root/libavfilter/signature.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-05-12 20:00:49 +0200
committerPaul B Mahol <onemda@gmail.com>2017-05-13 11:39:28 +0200
commited93ed5ee320db299dc8c65d59c4f25e2eb0acdc (patch)
treed678ae86bbdda736856cf4d15af63584231f8503 /libavfilter/signature.h
parent0fbc7a2169af479f8824f44e1b0f0ede5e1d1eaa (diff)
downloadffmpeg-ed93ed5ee320db299dc8c65d59c4f25e2eb0acdc.tar.gz
avfilter: don't anonymously typedef structs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/signature.h')
-rw-r--r--libavfilter/signature.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/signature.h b/libavfilter/signature.h
index 2659c8790e..cc198dbaa0 100644
--- a/libavfilter/signature.h
+++ b/libavfilter/signature.h
@@ -51,17 +51,17 @@ enum formats {
NB_FORMATS
};
-typedef struct {
+typedef struct Point {
uint8_t x;
uint8_t y;
} Point;
-typedef struct {
+typedef struct Block {
Point up;
Point to;
} Block;
-typedef struct {
+typedef struct ElemCat {
int av_elem; /* average element category */
short left_count; /* count of blocks that will be added together */
short block_count; /* count of blocks per element */
@@ -99,7 +99,7 @@ typedef struct MatchingInfo {
struct MatchingInfo* next;
} MatchingInfo;
-typedef struct {
+typedef struct StreamContext {
AVRational time_base;
/* needed for xml_export */
int w; /* height */
@@ -124,7 +124,7 @@ typedef struct {
int exported; /* boolean whether stream already exported */
} StreamContext;
-typedef struct {
+typedef struct SignatureContext {
const AVClass *class;
/* input parameters */
int mode;