Also mention this change in APIchanges.
Unified · Split
| @@ -13,6 +13,10 @@ libavutil: 2011-04-18 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | API changes, most recent first: |
| 15 | 15 | |
| 16 | +2012-09-04 - xxxxxxx - lavu 51.40.0 - opt.h | |
| 17 | + Reordered the fields in default_val in AVOption, changed which | |
| 18 | + default_val field is used for which AVOptionType. | |
| 19 | + | |
| 16 | 20 | 2012-xx-xx - xxxxxxx - lavc 54.26.1 - avcodec.h |
| 17 | 21 | Add codec descriptor properties AV_CODEC_PROP_LOSSY and |
| 18 | 22 | AV_CODEC_PROP_LOSSLESS. |
| @@ -261,10 +261,10 @@ typedef struct AVOption { · 260 unmodified lines | ||
| 261 | 261 | * the default value for scalar options |
| 262 | 262 | */ |
| 263 | 263 | union { |
| 264 | + int64_t i64; | |
| 264 | 265 | double dbl; |
| 265 | 266 | const char *str; |
| 266 | 267 | /* TODO those are unused now */ |
| 267 | − int64_t i64; | |
| 268 | 268 | AVRational q; |
| 269 | 269 | } default_val; |
| 270 | 270 | double min; ///< minimum valid value for the option |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | ||
| 37 | 37 | */ |
| 38 | 38 | |
| 39 | 39 | #define LIBAVUTIL_VERSION_MAJOR 51 |
| 40 | −#define LIBAVUTIL_VERSION_MINOR 39 | |
| 40 | +#define LIBAVUTIL_VERSION_MINOR 40 | |
| 41 | 41 | #define LIBAVUTIL_VERSION_MICRO 0 |
| 42 | 42 | |
| 43 | 43 | #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |