Browse Source

avfilter/vf_edgedetect: 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
fa7084a065
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_edgedetect.c

+ 1
- 1
libavfilter/vf_edgedetect.c View File

@@ -50,7 +50,7 @@ typedef struct {
int nb_planes;
double low, high;
uint8_t low_u8, high_u8;
enum FilterMode mode;
int mode;
} EdgeDetectContext;

#define OFFSET(x) offsetof(EdgeDetectContext, x)


Loading…
Cancel
Save