History

avopt: Reorder the default_val struct, making i64 the first field

Also mention this change in APIchanges.

Martin Storsjö committed 14 years ago

Commit 686a3291 parent 21bc4403 files · +6 −2Browse files

Unified · Split

3 files
  1. doc/APIchanges +4 −0
  2. libavutil/opt.h +1 −1
  3. libavutil/version.h +1 −1
doc/APIchanges+4−0
@@ -13,6 +13,10 @@ libavutil: 2011-04-18 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162012-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
162012-xx-xx - xxxxxxx - lavc 54.26.1 - avcodec.h202012-xx-xx - xxxxxxx - lavc 54.26.1 - avcodec.h
17 Add codec descriptor properties AV_CODEC_PROP_LOSSY and21 Add codec descriptor properties AV_CODEC_PROP_LOSSY and
18 AV_CODEC_PROP_LOSSLESS.22 AV_CODEC_PROP_LOSSLESS.
libavutil/opt.h+1−1
@@ -261,10 +261,10 @@ typedef struct AVOption { · 260 unmodified lines
261 * the default value for scalar options261 * the default value for scalar options
262 */262 */
263 union {263 union {
264 int64_t i64;
264 double dbl;265 double dbl;
265 const char *str;266 const char *str;
266 /* TODO those are unused now */267 /* TODO those are unused now */
267 int64_t i64;
268 AVRational q;268 AVRational q;
269 } default_val;269 } default_val;
270 double min; ///< minimum valid value for the option270 double min; ///< minimum valid value for the option
libavutil/version.h+1−1
@@ -37,7 +37,7 @@ · 36 unmodified lines
37 */37 */
38 38
39#define LIBAVUTIL_VERSION_MAJOR 5139#define LIBAVUTIL_VERSION_MAJOR 51
40#define LIBAVUTIL_VERSION_MINOR 3940#define LIBAVUTIL_VERSION_MINOR 40
41#define LIBAVUTIL_VERSION_MICRO 041#define LIBAVUTIL_VERSION_MICRO 0
42 42
43#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \43#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t