Browse Source

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>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
b0662a943c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/f_perms.c

+ 1
- 1
libavfilter/f_perms.c View File

@@ -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…
Cancel
Save