mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/f_perms: Change enums to int, which are accessed via AVOption as int
This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2a34b5099b
commit
b0662a943c
@ -37,7 +37,7 @@ typedef struct {
|
||||
const AVClass *class;
|
||||
AVLFG lfg;
|
||||
int64_t random_seed;
|
||||
enum mode mode;
|
||||
int mode;
|
||||
} PermsContext;
|
||||
|
||||
#define OFFSET(x) offsetof(PermsContext, x)
|
||||
|
Loading…
Reference in New Issue
Block a user