mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-23 07:42:51 +00:00
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:
parent
78c0030f34
commit
af70c94c63
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user