summaryrefslogtreecommitdiff
path: root/libavfilter
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:44:04 +0100
commit2a34b5099bb4c7b4ebf02b047ad3f91792368c36 (patch)
treea147eec6aff13b98cb206c43f354a6a5debdf6f1 /libavfilter
parent665d47f435c8ac759bbf995b3384bfa6dd8e42ad (diff)
avfilter/avf_showwaves: 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')
-rw-r--r--libavfilter/avf_showwaves.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c
index cffa883003..9cddc514b3 100644
--- a/libavfilter/avf_showwaves.c
+++ b/libavfilter/avf_showwaves.c
@@ -50,7 +50,7 @@ typedef struct {
int req_fullfilled;
int n;
int sample_count_mod;
- enum ShowWavesMode mode;
+ int mode; ///< ShowWavesMode
int split_channels;
void (*draw_sample)(uint8_t *buf, int height, int linesize,
int16_t sample, int16_t *prev_y, int intensity);