version.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /*
  2. * Version macros.
  3. *
  4. * This file is part of FFmpeg.
  5. *
  6. * FFmpeg is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * FFmpeg is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with FFmpeg; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. */
  20. #ifndef AVFORMAT_VERSION_H
  21. #define AVFORMAT_VERSION_H
  22. #include "libavutil/avutil.h"
  23. #define LIBAVFORMAT_VERSION_MAJOR 52
  24. #define LIBAVFORMAT_VERSION_MINOR 111
  25. #define LIBAVFORMAT_VERSION_MICRO 0
  26. #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
  27. LIBAVFORMAT_VERSION_MINOR, \
  28. LIBAVFORMAT_VERSION_MICRO)
  29. #define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \
  30. LIBAVFORMAT_VERSION_MINOR, \
  31. LIBAVFORMAT_VERSION_MICRO)
  32. #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
  33. #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
  34. /**
  35. * Those FF_API_* defines are not part of public API.
  36. * They may change, break or disappear at any time.
  37. */
  38. #ifndef FF_API_MAX_STREAMS
  39. #define FF_API_MAX_STREAMS (LIBAVFORMAT_VERSION_MAJOR < 53)
  40. #endif
  41. #ifndef FF_API_OLD_METADATA
  42. #define FF_API_OLD_METADATA (LIBAVFORMAT_VERSION_MAJOR < 53)
  43. #endif
  44. #ifndef FF_API_OLD_METADATA2
  45. #define FF_API_OLD_METADATA2 (LIBAVFORMAT_VERSION_MAJOR < 54)
  46. #endif
  47. #ifndef FF_API_URL_CLASS
  48. #define FF_API_URL_CLASS (LIBAVFORMAT_VERSION_MAJOR >= 53)
  49. #endif
  50. #ifndef FF_API_URL_RESETBUF
  51. #define FF_API_URL_RESETBUF (LIBAVFORMAT_VERSION_MAJOR < 53)
  52. #endif
  53. #ifndef FF_API_REGISTER_PROTOCOL
  54. #define FF_API_REGISTER_PROTOCOL (LIBAVFORMAT_VERSION_MAJOR < 53)
  55. #endif
  56. #ifndef FF_API_GUESS_FORMAT
  57. #define FF_API_GUESS_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 53)
  58. #endif
  59. #ifndef FF_API_UDP_GET_FILE
  60. #define FF_API_UDP_GET_FILE (LIBAVFORMAT_VERSION_MAJOR < 53)
  61. #endif
  62. #ifndef FF_API_URL_SPLIT
  63. #define FF_API_URL_SPLIT (LIBAVFORMAT_VERSION_MAJOR < 53)
  64. #endif
  65. #ifndef FF_API_ALLOC_FORMAT_CONTEXT
  66. #define FF_API_ALLOC_FORMAT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 53)
  67. #endif
  68. #ifndef FF_API_PARSE_FRAME_PARAM
  69. #define FF_API_PARSE_FRAME_PARAM (LIBAVFORMAT_VERSION_MAJOR < 53)
  70. #endif
  71. #ifndef FF_API_READ_SEEK
  72. #define FF_API_READ_SEEK (LIBAVFORMAT_VERSION_MAJOR < 54)
  73. #endif
  74. #ifndef FF_API_LAVF_UNUSED
  75. #define FF_API_LAVF_UNUSED (LIBAVFORMAT_VERSION_MAJOR < 53)
  76. #endif
  77. #ifndef FF_API_PARAMETERS_CODEC_ID
  78. #define FF_API_PARAMETERS_CODEC_ID (LIBAVFORMAT_VERSION_MAJOR < 53)
  79. #endif
  80. #ifndef FF_API_FIRST_FORMAT
  81. #define FF_API_FIRST_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 53)
  82. #endif
  83. #ifndef FF_API_SYMVER
  84. #define FF_API_SYMVER (LIBAVFORMAT_VERSION_MAJOR < 53)
  85. #endif
  86. #ifndef FF_API_OLD_AVIO
  87. #define FF_API_OLD_AVIO (LIBAVFORMAT_VERSION_MAJOR < 54)
  88. #endif
  89. #ifndef FF_API_INDEX_BUILT
  90. #define FF_API_INDEX_BUILT (LIBAVFORMAT_VERSION_MAJOR < 53)
  91. #endif
  92. #ifndef FF_API_DUMP_FORMAT
  93. #define FF_API_DUMP_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 54)
  94. #endif
  95. #ifndef FF_API_PARSE_DATE
  96. #define FF_API_PARSE_DATE (LIBAVFORMAT_VERSION_MAJOR < 54)
  97. #endif
  98. #ifndef FF_API_FIND_INFO_TAG
  99. #define FF_API_FIND_INFO_TAG (LIBAVFORMAT_VERSION_MAJOR < 54)
  100. #endif
  101. #ifndef FF_API_PKT_DUMP
  102. #define FF_API_PKT_DUMP (LIBAVFORMAT_VERSION_MAJOR < 54)
  103. #endif
  104. #ifndef FF_API_GUESS_IMG2_CODEC
  105. #define FF_API_GUESS_IMG2_CODEC (LIBAVFORMAT_VERSION_MAJOR < 54)
  106. #endif
  107. #ifndef FF_API_SDP_CREATE
  108. #define FF_API_SDP_CREATE (LIBAVFORMAT_VERSION_MAJOR < 54)
  109. #endif
  110. #ifndef FF_API_ALLOC_OUTPUT_CONTEXT
  111. #define FF_API_ALLOC_OUTPUT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 54)
  112. #endif
  113. #ifndef FF_API_FORMAT_PARAMETERS
  114. #define FF_API_FORMAT_PARAMETERS (LIBAVFORMAT_VERSION_MAJOR < 54)
  115. #endif
  116. #ifndef FF_API_FLAG_RTP_HINT
  117. #define FF_API_FLAG_RTP_HINT (LIBAVFORMAT_VERSION_MAJOR < 54)
  118. #endif
  119. #ifndef FF_API_AVSTREAM_QUALITY
  120. #define FF_API_AVSTREAM_QUALITY (LIBAVFORMAT_VERSION_MAJOR < 54)
  121. #endif
  122. #ifndef FF_API_LOOP_INPUT
  123. #define FF_API_LOOP_INPUT (LIBAVFORMAT_VERSION_MAJOR < 54)
  124. #endif
  125. #ifndef FF_API_LOOP_OUTPUT
  126. #define FF_API_LOOP_OUTPUT (LIBAVFORMAT_VERSION_MAJOR < 54)
  127. #endif
  128. #ifndef FF_API_TIMESTAMP
  129. #define FF_API_TIMESTAMP (LIBAVFORMAT_VERSION_MAJOR < 54)
  130. #endif
  131. #endif /* AVFORMAT_VERSION_H */