You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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:
@@ -50,7 +50,7 @@ typedef struct {
|
|||||||
int req_fullfilled;
|
int req_fullfilled;
|
||||||
int n;
|
int n;
|
||||||
int sample_count_mod;
|
int sample_count_mod;
|
||||||
enum ShowWavesMode mode;
|
int mode; ///< ShowWavesMode
|
||||||
int split_channels;
|
int split_channels;
|
||||||
void (*draw_sample)(uint8_t *buf, int height, int linesize,
|
void (*draw_sample)(uint8_t *buf, int height, int linesize,
|
||||||
int16_t sample, int16_t *prev_y, int intensity);
|
int16_t sample, int16_t *prev_y, int intensity);
|
||||||
|
Reference in New Issue
Block a user