From 686a329395bf4b602445dd5015fab507b01ad4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 31 Aug 2012 13:35:47 +0300 Subject: [PATCH 1/3] 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ö --- doc/APIchanges | 4 ++++ libavutil/opt.h | 2 +- libavutil/version.h | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index dda0996b93..7e1ffd0801 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,10 @@ libavutil: 2011-04-18 API changes, most recent first: +2012-09-04 - xxxxxxx - lavu 51.40.0 - opt.h + Reordered the fields in default_val in AVOption, changed which + default_val field is used for which AVOptionType. + 2012-xx-xx - xxxxxxx - lavc 54.26.1 - avcodec.h Add codec descriptor properties AV_CODEC_PROP_LOSSY and AV_CODEC_PROP_LOSSLESS. 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 diff --git a/libavutil/version.h b/libavutil/version.h index 2dc821d8f1..293a65b08f 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -37,7 +37,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 51 -#define LIBAVUTIL_VERSION_MINOR 39 +#define LIBAVUTIL_VERSION_MINOR 40 #define LIBAVUTIL_VERSION_MICRO 0 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ From aa661113654d318d2191f3f649cd6d9e214cf38f Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 4 Sep 2012 16:57:29 +0200 Subject: [PATCH 2/3] build: utvideoenc: Add missing dependency on Huffman code --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 88c5c75004..c0b631966e 100755 --- a/configure +++ b/configure @@ -1508,6 +1508,7 @@ tiff_encoder_suggest="zlib" truehd_decoder_select="mlp_decoder" tscc_decoder_select="zlib" twinvq_decoder_select="mdct lsp sinewin" +utvideo_encoder_select="huffman" vc1_decoder_select="h263_decoder h264chroma h264qpel" vc1_dxva2_hwaccel_deps="dxva2api_h" vc1_dxva2_hwaccel_select="dxva2 vc1_decoder" From 6980453569b09239d3fcc4cc7335956f36e484d4 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 4 Sep 2012 17:01:06 +0200 Subject: [PATCH 3/3] build: eamad: Add missing dependency on mpegvideo code --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index c0b631966e..1d889d6cbc 100755 --- a/configure +++ b/configure @@ -1409,7 +1409,7 @@ dnxhd_encoder_select="aandcttables mpegvideoenc" dxa_decoder_select="zlib" eac3_decoder_select="ac3_decoder" eac3_encoder_select="ac3_encoder" -eamad_decoder_select="aandcttables error_resilience" +eamad_decoder_select="aandcttables error_resilience mpegvideo" eatgq_decoder_select="aandcttables" eatqi_decoder_select="aandcttables error_resilience mpegvideo" ffv1_decoder_select="golomb rangecoder"