aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/f_perms.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-07 02:44:04 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-07 02:45:49 +0100
commitb0662a943c81a68d9d255231f0d58e427b63ba21 (patch)
treeb84b470d790598e10c6be3f2e02e0f4582274f8d /libavfilter/f_perms.c
parent2a34b5099bb4c7b4ebf02b047ad3f91792368c36 (diff)
downloadffmpeg-b0662a943c81a68d9d255231f0d58e427b63ba21.tar.gz
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>
Diffstat (limited to 'libavfilter/f_perms.c')
-rw-r--r--libavfilter/f_perms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_perms.c b/libavfilter/f_perms.c
index 188ce91376..abe2e4f46f 100644
--- a/libavfilter/f_perms.c
+++ b/libavfilter/f_perms.c
@@ -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)