Skip to content

Commit

Permalink
avfilter/f_perms: Change enums to int, which are accessed via AVOptio…
Browse files Browse the repository at this point in the history
…n as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Mar 7, 2015
1 parent 2a34b50 commit b0662a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavfilter/f_perms.c
Expand Up @@ -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)
Expand Down

0 comments on commit b0662a9

Please sign in to comment.