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
1313
1414 API changes, most recent first:
1515
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+
1620 2012-xx-xx - xxxxxxx - lavc 54.26.1 - avcodec.h
1721 Add codec descriptor properties AV_CODEC_PROP_LOSSY and
1822 AV_CODEC_PROP_LOSSLESS.
libavutil/opt.h+1−1
@@ -261,10 +261,10 @@ typedef struct AVOption { · 260 unmodified lines
261261 * the default value for scalar options
262262 */
263263 union {
264+ int64_t i64;
264265 double dbl;
265266 const char *str;
266267 /* TODO those are unused now */
267− int64_t i64;
268268 AVRational q;
269269 } default_val;
270270 double min; ///< minimum valid value for the option
libavutil/version.h+1−1
@@ -37,7 +37,7 @@ · 36 unmodified lines
3737 */
3838
3939 #define LIBAVUTIL_VERSION_MAJOR 51
40−#define LIBAVUTIL_VERSION_MINOR 39
40+#define LIBAVUTIL_VERSION_MINOR 40
4141 #define LIBAVUTIL_VERSION_MICRO 0
4242
4343 #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