From b0662a943c81a68d9d255231f0d58e427b63ba21 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 7 Mar 2015 02:44:04 +0100 Subject: [PATCH] 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 --- libavfilter/f_perms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)