version.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /*
  2. *
  3. * This file is part of Libav.
  4. *
  5. * Libav is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2.1 of the License, or (at your option) any later version.
  9. *
  10. * Libav is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with Libav; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  18. */
  19. #ifndef AVCODEC_VERSION_H
  20. #define AVCODEC_VERSION_H
  21. #define LIBAVCODEC_VERSION_MAJOR 53
  22. #define LIBAVCODEC_VERSION_MINOR 6
  23. #define LIBAVCODEC_VERSION_MICRO 0
  24. #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
  25. LIBAVCODEC_VERSION_MINOR, \
  26. LIBAVCODEC_VERSION_MICRO)
  27. #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
  28. LIBAVCODEC_VERSION_MINOR, \
  29. LIBAVCODEC_VERSION_MICRO)
  30. #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
  31. #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
  32. /**
  33. * Those FF_API_* defines are not part of public API.
  34. * They may change, break or disappear at any time.
  35. */
  36. #ifndef FF_API_PALETTE_CONTROL
  37. #define FF_API_PALETTE_CONTROL (LIBAVCODEC_VERSION_MAJOR < 54)
  38. #endif
  39. #ifndef FF_API_OLD_SAMPLE_FMT
  40. #define FF_API_OLD_SAMPLE_FMT (LIBAVCODEC_VERSION_MAJOR < 54)
  41. #endif
  42. #ifndef FF_API_OLD_AUDIOCONVERT
  43. #define FF_API_OLD_AUDIOCONVERT (LIBAVCODEC_VERSION_MAJOR < 54)
  44. #endif
  45. #ifndef FF_API_ANTIALIAS_ALGO
  46. #define FF_API_ANTIALIAS_ALGO (LIBAVCODEC_VERSION_MAJOR < 54)
  47. #endif
  48. #ifndef FF_API_REQUEST_CHANNELS
  49. #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 54)
  50. #endif
  51. #ifndef FF_API_OPT_H
  52. #define FF_API_OPT_H (LIBAVCODEC_VERSION_MAJOR < 54)
  53. #endif
  54. #ifndef FF_API_THREAD_INIT
  55. #define FF_API_THREAD_INIT (LIBAVCODEC_VERSION_MAJOR < 54)
  56. #endif
  57. #ifndef FF_API_OLD_FF_PICT_TYPES
  58. #define FF_API_OLD_FF_PICT_TYPES (LIBAVCODEC_VERSION_MAJOR < 54)
  59. #endif
  60. #ifndef FF_API_FLAC_GLOBAL_OPTS
  61. #define FF_API_FLAC_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
  62. #endif
  63. #ifndef FF_API_GET_PIX_FMT_NAME
  64. #define FF_API_GET_PIX_FMT_NAME (LIBAVCODEC_VERSION_MAJOR < 54)
  65. #endif
  66. #ifndef FF_API_ALLOC_CONTEXT
  67. #define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 54)
  68. #endif
  69. #ifndef FF_API_AVCODEC_OPEN
  70. #define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 54)
  71. #endif
  72. #ifndef FF_API_DRC_SCALE
  73. #define FF_API_DRC_SCALE (LIBAVCODEC_VERSION_MAJOR < 54)
  74. #endif
  75. #endif /* AVCODEC_VERSION_H */