From 686a329395bf4b602445dd5015fab507b01ad4f2 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Fri, 31 Aug 2012 13:35:47 +0300 Subject: avopt: Reorder the default_val struct, making i64 the first field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also mention this change in APIchanges. Signed-off-by: Martin Storsjö --- libavutil/opt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/opt.h') diff --git a/libavutil/opt.h b/libavutil/opt.h index 8f800fcf98..775267f9ea 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -261,10 +261,10 @@ typedef struct AVOption { * the default value for scalar options */ union { + int64_t i64; double dbl; const char *str; /* TODO those are unused now */ - int64_t i64; AVRational q; } default_val; double min; ///< minimum valid value for the option -- cgit v1.2.3