]> git.sesse.net Git - ffmpeg/commitdiff
lavc: postpone FF_API_AVCTX_TIMEBASE
authorAnton Khirnov <anton@khirnov.net>
Sun, 4 Apr 2021 11:01:58 +0000 (13:01 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 8 Apr 2021 09:03:15 +0000 (11:03 +0200)
There are still several decoders setting it and the situation is
non-trivial to resolve.

libavcodec/version.h

index 1444c195522e1bb314918e1361cdf3d970918b29..83ebba22d9e2cae85731387c6de8c85911a60dff 100644 (file)
@@ -51,9 +51,6 @@
  * at once through the bump. This improves the git bisect-ability of the change.
  */
 
-#ifndef FF_API_AVCTX_TIMEBASE
-#define FF_API_AVCTX_TIMEBASE    (LIBAVCODEC_VERSION_MAJOR < 59)
-#endif
 #ifndef FF_API_CODED_FRAME
 #define FF_API_CODED_FRAME       (LIBAVCODEC_VERSION_MAJOR < 59)
 #endif
 #ifndef FF_API_INIT_PACKET
 #define FF_API_INIT_PACKET         (LIBAVCODEC_VERSION_MAJOR < 60)
 #endif
+#ifndef FF_API_AVCTX_TIMEBASE
+#define FF_API_AVCTX_TIMEBASE    (LIBAVCODEC_VERSION_MAJOR < 60)
+#endif
 
 #endif /* AVCODEC_VERSION_H */