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>
This commit is contained in:
Zhao Zhili 2019-10-16 01:17:54 +08:00 committed by Michael Niedermayer
parent 78c0030f34
commit af70c94c63

View File

@ -39,7 +39,7 @@ typedef struct SideDataContext {
const AVClass *class; const AVClass *class;
int mode; int mode;
enum AVFrameSideDataType type; int type; // enum AVFrameSideDataType or -1 for delete side data mode
} SideDataContext; } SideDataContext;
#define OFFSET(x) offsetof(SideDataContext, x) #define OFFSET(x) offsetof(SideDataContext, x)