You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

version.h 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. /**
  23. * @file
  24. * @ingroup libavf
  25. * Libavformat version macros
  26. */
  27. #include "libavutil/version.h"
  28. #define LIBAVFORMAT_VERSION_MAJOR 56
  29. #define LIBAVFORMAT_VERSION_MINOR 25
  30. #define LIBAVFORMAT_VERSION_MICRO 101
  31. #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
  32. LIBAVFORMAT_VERSION_MINOR, \
  33. LIBAVFORMAT_VERSION_MICRO)
  34. #define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \
  35. LIBAVFORMAT_VERSION_MINOR, \
  36. LIBAVFORMAT_VERSION_MICRO)
  37. #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
  38. #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
  39. /**
  40. * FF_API_* defines may be placed below to indicate public API that will be
  41. * dropped at a future version bump. The defines themselves are not part of
  42. * the public API and may change, break or disappear at any time.
  43. */
  44. #ifndef FF_API_LAVF_BITEXACT
  45. #define FF_API_LAVF_BITEXACT (LIBAVFORMAT_VERSION_MAJOR < 57)
  46. #endif
  47. #ifndef FF_API_LAVF_FRAC
  48. #define FF_API_LAVF_FRAC (LIBAVFORMAT_VERSION_MAJOR < 57)
  49. #endif
  50. #ifndef FF_API_LAVF_CODEC_TB
  51. #define FF_API_LAVF_CODEC_TB (LIBAVFORMAT_VERSION_MAJOR < 57)
  52. #endif
  53. #ifndef FF_API_URL_FEOF
  54. #define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 57)
  55. #endif
  56. #ifndef FF_API_R_FRAME_RATE
  57. #define FF_API_R_FRAME_RATE 1
  58. #endif
  59. #endif /* AVFORMAT_VERSION_H */