[FFmpeg-cvslog] avfilter/avf_showwaves: Change enums to int, which are accessed via AVOption as int
Michael Niedermayer
git at videolan.org
Sat Mar 7 03:10:02 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Mar 7 02:44:04 2015 +0100| [2a34b5099bb4c7b4ebf02b047ad3f91792368c36] | committer: 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: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2a34b5099bb4c7b4ebf02b047ad3f91792368c36
---
libavfilter/avf_showwaves.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c
index cffa883..9cddc51 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);
More information about the ffmpeg-cvslog
mailing list