diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-03-07 02:44:04 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-07 02:44:04 +0100 |
commit | 2a34b5099bb4c7b4ebf02b047ad3f91792368c36 (patch) | |
tree | a147eec6aff13b98cb206c43f354a6a5debdf6f1 | |
parent | 665d47f435c8ac759bbf995b3384bfa6dd8e42ad (diff) | |
download | ffmpeg-2a34b5099bb4c7b4ebf02b047ad3f91792368c36.tar.gz |
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>
-rw-r--r-- | libavfilter/avf_showwaves.c | 2 |
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); |