[FFmpeg-devel] [PATCH 3/4] avformat/wavenc: Change enum to int, which is accessed via AVOption as int

Michael Niedermayer michaelni at gmx.at
Sat Mar 28 22:28:56 CET 2015


This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavformat/wavenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/wavenc.c b/libavformat/wavenc.c
index 2345fc5..0333622 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;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list