From f45758d3eebecd2c4f5bac456e05f0063e20114d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 23 Mar 2015 19:31:17 +0100 Subject: [PATCH] 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 --- libavformat/wavenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;