summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Zhili <quinkblack@foxmail.com>2019-10-16 01:17:54 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2019-10-30 18:09:00 +0100
commitaf70c94c63cc0ccf6a8078e87c81d061b8765889 (patch)
tree04b12d7ae87bb1a0858eef8f5d3c71ed728c1450
parent78c0030f344c408d71eb35db7f880ec96a1be03a (diff)
downloadffmpeg-streaming-af70c94c63cc0ccf6a8078e87c81d061b8765889.zip
ffmpeg-streaming-af70c94c63cc0ccf6a8078e87c81d061b8765889.tar.gz
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>
-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 381da5a..4210dca 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)
OpenPOWER on IntegriCloud