Commit 2a34b509 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/avf_showwaves: Change enums to int, which are accessed via AVOption as int

This fixes depending on implementation defined behavior
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 665d47f4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment