Unified · Split
| @@ -13,6 +13,9 @@ libavutil: 2021-04-27 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 | API changes, most recent first: |
| 16 | +2021-07-19 - xxxxxxxxxx - lavu 57.1.100 - cpu.h | |
| 17 | + Add av_cpu_force_count() | |
| 18 | + | |
| 16 | 19 | 2021-06-17 - xxxxxxxxxx - lavc 59.2.100 - packet.h |
| 17 | 20 | Add AV_PKT_DATA_DYNAMIC_HDR10_PLUS |
| 18 | 21 | |
| @@ -874,7 +874,7 @@ int opt_cpucount(void *optctx, const char *opt, const char *arg) · 873 unmodified lines | ||
| 874 | 874 | ret = av_opt_eval_int(&pclass, opts, arg, &count); |
| 875 | 875 | |
| 876 | 876 | if (!ret) { |
| 877 | − av_force_cpu_count(count); | |
| 877 | + av_cpu_force_count(count); | |
| 878 | 878 | } |
| 879 | 879 | |
| 880 | 880 | return ret; |
| @@ -236,7 +236,8 @@ int av_cpu_count(void) · 235 unmodified lines | ||
| 236 | 236 | return nb_cpus; |
| 237 | 237 | } |
| 238 | 238 | |
| 239 | −void av_force_cpu_count(int count){ | |
| 239 | +void av_cpu_force_count(int count) | |
| 240 | +{ | |
| 240 | 241 | atomic_store_explicit(&cpu_count, count, memory_order_relaxed); |
| 241 | 242 | } |
| 242 | 243 | |
| @@ -102,7 +102,7 @@ int av_cpu_count(void); · 101 unmodified lines | ||
| 102 | 102 | * Overrides cpu count detection and forces the specified count. |
| 103 | 103 | * Count < 1 disables forcing of specific count. |
| 104 | 104 | */ |
| 105 | −void av_force_cpu_count(int count); | |
| 105 | +void av_cpu_force_count(int count); | |
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | 108 | * Get the maximum data alignment that may be required by FFmpeg. |
| @@ -79,8 +79,8 @@ · 78 unmodified lines | ||
| 79 | 79 | */ |
| 80 | 80 | |
| 81 | 81 | #define LIBAVUTIL_VERSION_MAJOR 57 |
| 82 | −#define LIBAVUTIL_VERSION_MINOR 0 | |
| 83 | −#define LIBAVUTIL_VERSION_MICRO 101 | |
| 82 | +#define LIBAVUTIL_VERSION_MINOR 1 | |
| 83 | +#define LIBAVUTIL_VERSION_MICRO 100 | |
| 84 | 84 | |
| 85 | 85 | #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |
| 86 | 86 | LIBAVUTIL_VERSION_MINOR, \ |