aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-23 19:31:17 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-30 00:08:57 +0200
commitf45758d3eebecd2c4f5bac456e05f0063e20114d (patch)
treebfd6a8616f507dc318f3c5e87eb69edaa56f69ff
parent984c230cd3c19bf6b383d68811ea37c5fb968853 (diff)
downloadffmpeg-f45758d3eebecd2c4f5bac456e05f0063e20114d.tar.gz
avformat/wavenc: Change enum to int, which is accessed via AVOption as int
This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/wavenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wavenc.c b/libavformat/wavenc.c
index 2345fc594a..03336220c5 100644
--- a/libavformat/wavenc.c
+++ b/libavformat/wavenc.c
@@ -82,7 +82,7 @@ typedef struct WAVMuxContext {
int write_peak;
int rf64;
int peak_block_size;
- PeakFormat peak_format;
+ int peak_format;
int peak_block_pos;
int peak_ppv;
int peak_bps;