version_major.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 AVDEVICE_VERSION_MAJOR_H
  19. #define AVDEVICE_VERSION_MAJOR_H
  20. /**
  21. * @file
  22. * @ingroup lavd
  23. * Libavdevice version macros
  24. */
  25. #define LIBAVDEVICE_VERSION_MAJOR 61
  26. /**
  27. * FF_API_* defines may be placed below to indicate public API that will be
  28. * dropped at a future version bump. The defines themselves are not part of
  29. * the public API and may change, break or disappear at any time.
  30. */
  31. // reminder to remove the bktr device on next major bump
  32. #define FF_API_BKTR_DEVICE (LIBAVDEVICE_VERSION_MAJOR < 62)
  33. // reminder to remove the opengl device on next major bump
  34. #define FF_API_OPENGL_DEVICE (LIBAVDEVICE_VERSION_MAJOR < 62)
  35. // reminder to remove the sdl2 device on next major bump
  36. #define FF_API_SDL2_DEVICE (LIBAVDEVICE_VERSION_MAJOR < 62)
  37. #endif /* AVDEVICE_VERSION_MAJOR_H */