version.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * This file is part of FFmpeg.
  3. *
  4. * FFmpeg is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2.1 of the License, or (at your option) any later version.
  8. *
  9. * FFmpeg is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with FFmpeg; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef AVRESAMPLE_VERSION_H
  19. #define AVRESAMPLE_VERSION_H
  20. /**
  21. * @file
  22. * @ingroup lavr
  23. * Libavresample version macros.
  24. */
  25. #define LIBAVRESAMPLE_VERSION_MAJOR 1
  26. #define LIBAVRESAMPLE_VERSION_MINOR 1
  27. #define LIBAVRESAMPLE_VERSION_MICRO 0
  28. #define LIBAVRESAMPLE_VERSION_INT AV_VERSION_INT(LIBAVRESAMPLE_VERSION_MAJOR, \
  29. LIBAVRESAMPLE_VERSION_MINOR, \
  30. LIBAVRESAMPLE_VERSION_MICRO)
  31. #define LIBAVRESAMPLE_VERSION AV_VERSION(LIBAVRESAMPLE_VERSION_MAJOR, \
  32. LIBAVRESAMPLE_VERSION_MINOR, \
  33. LIBAVRESAMPLE_VERSION_MICRO)
  34. #define LIBAVRESAMPLE_BUILD LIBAVRESAMPLE_VERSION_INT
  35. #define LIBAVRESAMPLE_IDENT "Lavr" AV_STRINGIFY(LIBAVRESAMPLE_VERSION)
  36. /**
  37. * FF_API_* defines may be placed below to indicate public API that will be
  38. * dropped at a future version bump. The defines themselves are not part of
  39. * the public API and may change, break or disappear at any time.
  40. */
  41. #ifndef FF_API_RESAMPLE_CLOSE_OPEN
  42. #define FF_API_RESAMPLE_CLOSE_OPEN (LIBAVRESAMPLE_VERSION_MAJOR < 2)
  43. #endif
  44. #endif /* AVRESAMPLE_VERSION_H */