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>
This commit is contained in:
Michael Niedermayer 2015-03-07 02:44:04 +01:00
parent 665d47f435
commit 2a34b5099b
1 changed files with 1 additions and 1 deletions

View File

@ -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);