summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Zhili <[email protected]>2019-10-16 01:17:54 +0800
committerMichael Niedermayer <[email protected]>2019-10-30 18:09:00 +0100
commitaf70c94c63cc0ccf6a8078e87c81d061b8765889 (patch)
tree04b12d7ae87bb1a0858eef8f5d3c71ed728c1450
parent78c0030f344c408d71eb35db7f880ec96a1be03a (diff)
avfilter/f_sidedata: fix Wtautological-constant-out-of-range-compare
Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r--libavfilter/f_sidedata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_sidedata.c b/libavfilter/f_sidedata.c
index 381da5a052..4210dcac4c 100644
--- a/libavfilter/f_sidedata.c
+++ b/libavfilter/f_sidedata.c
@@ -39,7 +39,7 @@ typedef struct SideDataContext {
const AVClass *class;
int mode;
- enum AVFrameSideDataType type;
+ int type; // enum AVFrameSideDataType or -1 for delete side data mode
} SideDataContext;
#define OFFSET(x) offsetof(SideDataContext, x)