Skip to content

Commit 07a2b15

Browse files
committed
Bump major versions of all libraries
This disables everything that was deprecated at least 18 months ago. Readjust the minimum API version as needed, postponing any API-incompatible changes until the next bump. Signed-off-by: Vittorio Giovara <[email protected]>
1 parent 628ce8b commit 07a2b15

File tree

7 files changed

+29
-29
lines changed

7 files changed

+29
-29
lines changed

libavcodec/version.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727

2828
#include "libavutil/version.h"
2929

30-
#define LIBAVCODEC_VERSION_MAJOR 57
31-
#define LIBAVCODEC_VERSION_MINOR 37
32-
#define LIBAVCODEC_VERSION_MICRO 1
30+
#define LIBAVCODEC_VERSION_MAJOR 58
31+
#define LIBAVCODEC_VERSION_MINOR 0
32+
#define LIBAVCODEC_VERSION_MICRO 0
3333

3434
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
3535
LIBAVCODEC_VERSION_MINOR, \
@@ -141,28 +141,28 @@
141141
#define FF_API_AUDIOENC_DELAY (LIBAVCODEC_VERSION_MAJOR < 58)
142142
#endif
143143
#ifndef FF_API_AVCTX_TIMEBASE
144-
#define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 59)
144+
#define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 58)
145145
#endif
146146
#ifndef FF_API_MPV_OPT
147-
#define FF_API_MPV_OPT (LIBAVCODEC_VERSION_MAJOR < 59)
147+
#define FF_API_MPV_OPT (LIBAVCODEC_VERSION_MAJOR < 58)
148148
#endif
149149
#ifndef FF_API_STREAM_CODEC_TAG
150-
#define FF_API_STREAM_CODEC_TAG (LIBAVCODEC_VERSION_MAJOR < 59)
150+
#define FF_API_STREAM_CODEC_TAG (LIBAVCODEC_VERSION_MAJOR < 58)
151151
#endif
152152
#ifndef FF_API_QUANT_BIAS
153-
#define FF_API_QUANT_BIAS (LIBAVCODEC_VERSION_MAJOR < 59)
153+
#define FF_API_QUANT_BIAS (LIBAVCODEC_VERSION_MAJOR < 58)
154154
#endif
155155
#ifndef FF_API_RC_STRATEGY
156-
#define FF_API_RC_STRATEGY (LIBAVCODEC_VERSION_MAJOR < 59)
156+
#define FF_API_RC_STRATEGY (LIBAVCODEC_VERSION_MAJOR < 58)
157157
#endif
158158
#ifndef FF_API_CODED_FRAME
159-
#define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 59)
159+
#define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 58)
160160
#endif
161161
#ifndef FF_API_MOTION_EST
162-
#define FF_API_MOTION_EST (LIBAVCODEC_VERSION_MAJOR < 59)
162+
#define FF_API_MOTION_EST (LIBAVCODEC_VERSION_MAJOR < 58)
163163
#endif
164164
#ifndef FF_API_WITHOUT_PREFIX
165-
#define FF_API_WITHOUT_PREFIX (LIBAVCODEC_VERSION_MAJOR < 59)
165+
#define FF_API_WITHOUT_PREFIX (LIBAVCODEC_VERSION_MAJOR < 58)
166166
#endif
167167
#ifndef FF_API_SIDEDATA_ONLY_PKT
168168
#define FF_API_SIDEDATA_ONLY_PKT (LIBAVCODEC_VERSION_MAJOR < 59)

libavdevice/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727

2828
#include "libavutil/version.h"
2929

30-
#define LIBAVDEVICE_VERSION_MAJOR 56
31-
#define LIBAVDEVICE_VERSION_MINOR 1
30+
#define LIBAVDEVICE_VERSION_MAJOR 57
31+
#define LIBAVDEVICE_VERSION_MINOR 0
3232
#define LIBAVDEVICE_VERSION_MICRO 0
3333

3434
#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \

libavfilter/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929

3030
#include "libavutil/version.h"
3131

32-
#define LIBAVFILTER_VERSION_MAJOR 6
33-
#define LIBAVFILTER_VERSION_MINOR 9
32+
#define LIBAVFILTER_VERSION_MAJOR 7
33+
#define LIBAVFILTER_VERSION_MINOR 0
3434
#define LIBAVFILTER_VERSION_MICRO 0
3535

3636
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \

libavformat/version.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929

3030
#include "libavutil/version.h"
3131

32-
#define LIBAVFORMAT_VERSION_MAJOR 57
33-
#define LIBAVFORMAT_VERSION_MINOR 11
34-
#define LIBAVFORMAT_VERSION_MICRO 4
32+
#define LIBAVFORMAT_VERSION_MAJOR 58
33+
#define LIBAVFORMAT_VERSION_MINOR 0
34+
#define LIBAVFORMAT_VERSION_MICRO 0
3535

3636
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
3737
LIBAVFORMAT_VERSION_MINOR, \
@@ -58,13 +58,13 @@
5858
#define FF_API_LAVF_CODEC_TB (LIBAVFORMAT_VERSION_MAJOR < 58)
5959
#endif
6060
#ifndef FF_API_LAVF_FMT_RAWPICTURE
61-
#define FF_API_LAVF_FMT_RAWPICTURE (LIBAVFORMAT_VERSION_MAJOR < 58)
61+
#define FF_API_LAVF_FMT_RAWPICTURE (LIBAVFORMAT_VERSION_MAJOR < 59)
6262
#endif
6363
#ifndef FF_API_COMPUTE_PKT_FIELDS2
64-
#define FF_API_COMPUTE_PKT_FIELDS2 (LIBAVFORMAT_VERSION_MAJOR < 58)
64+
#define FF_API_COMPUTE_PKT_FIELDS2 (LIBAVFORMAT_VERSION_MAJOR < 59)
6565
#endif
6666
#ifndef FF_API_LAVF_AVCTX
67-
#define FF_API_LAVF_AVCTX (LIBAVFORMAT_VERSION_MAJOR < 58)
67+
#define FF_API_LAVF_AVCTX (LIBAVFORMAT_VERSION_MAJOR < 59)
6868
#endif
6969

7070
#endif /* AVFORMAT_VERSION_H */

libavresample/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#include "libavutil/version.h"
2929

30-
#define LIBAVRESAMPLE_VERSION_MAJOR 3
30+
#define LIBAVRESAMPLE_VERSION_MAJOR 4
3131
#define LIBAVRESAMPLE_VERSION_MINOR 0
3232
#define LIBAVRESAMPLE_VERSION_MICRO 0
3333

libavutil/version.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
* @{
5454
*/
5555

56-
#define LIBAVUTIL_VERSION_MAJOR 55
57-
#define LIBAVUTIL_VERSION_MINOR 35
56+
#define LIBAVUTIL_VERSION_MAJOR 56
57+
#define LIBAVUTIL_VERSION_MINOR 0
5858
#define LIBAVUTIL_VERSION_MICRO 0
5959

6060
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
@@ -91,7 +91,7 @@
9191
#define FF_API_DLOG (LIBAVUTIL_VERSION_MAJOR < 56)
9292
#endif
9393
#ifndef FF_API_CRYPTO_CONTEXT
94-
#define FF_API_CRYPTO_CONTEXT (LIBAVUTIL_VERSION_MAJOR < 56)
94+
#define FF_API_CRYPTO_CONTEXT (LIBAVUTIL_VERSION_MAJOR < 57)
9595
#endif
9696
#ifndef FF_API_PLUS1_MINUS1
9797
#define FF_API_PLUS1_MINUS1 (LIBAVUTIL_VERSION_MAJOR < 56)
@@ -100,13 +100,13 @@
100100
#define FF_API_ERROR_FRAME (LIBAVUTIL_VERSION_MAJOR < 56)
101101
#endif
102102
#ifndef FF_API_VAAPI
103-
#define FF_API_VAAPI (LIBAVUTIL_VERSION_MAJOR < 56)
103+
#define FF_API_VAAPI (LIBAVUTIL_VERSION_MAJOR < 57)
104104
#endif
105105
#ifndef FF_API_PKT_PTS
106-
#define FF_API_PKT_PTS (LIBAVUTIL_VERSION_MAJOR < 56)
106+
#define FF_API_PKT_PTS (LIBAVUTIL_VERSION_MAJOR < 57)
107107
#endif
108108
#ifndef FF_API_CRYPTO_SIZE_T
109-
#define FF_API_CRYPTO_SIZE_T (LIBAVUTIL_VERSION_MAJOR < 56)
109+
#define FF_API_CRYPTO_SIZE_T (LIBAVUTIL_VERSION_MAJOR < 57)
110110
#endif
111111

112112

libswscale/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
#include "libavutil/version.h"
2828

29-
#define LIBSWSCALE_VERSION_MAJOR 4
29+
#define LIBSWSCALE_VERSION_MAJOR 5
3030
#define LIBSWSCALE_VERSION_MINOR 0
3131
#define LIBSWSCALE_VERSION_MICRO 0
3232

0 commit comments

Comments
 (0)