[FFmpeg-cvslog] avformat/wavenc: Change enum to int, which is accessed via AVOption as int

Michael Niedermayer git at videolan.org
Mon Mar 30 00:22:46 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Mar 23 19:31:17 2015 +0100| [f45758d3eebecd2c4f5bac456e05f0063e20114d] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f45758d3eebecd2c4f5bac456e05f0063e20114d
---

 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;



More information about the ffmpeg-cvslog mailing list