Browse Source

avfilter/vsrc_mptestsrc: Change enum to int, which is 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
8a8a1cce6c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vsrc_mptestsrc.c

+ 1
- 1
libavfilter/vsrc_mptestsrc.c View File

@@ -55,7 +55,7 @@ typedef struct MPTestContext {
AVRational frame_rate;
int64_t pts, max_pts, duration;
int hsub, vsub;
enum test_type test;
int test; ///< test_type
} MPTestContext;

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


Loading…
Cancel
Save