Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Zhili <quinkblack@foxmail.com>2019-10-15 20:17:54 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2019-10-30 20:09:00 +0300
commitaf70c94c63cc0ccf6a8078e87c81d061b8765889 (patch)
tree04b12d7ae87bb1a0858eef8f5d3c71ed728c1450 /libavfilter/f_sidedata.c
parent78c0030f344c408d71eb35db7f880ec96a1be03a (diff)
avfilter/f_sidedata: fix Wtautological-constant-out-of-range-compare
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/f_sidedata.c')
-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)