diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-05-26 17:48:52 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-26 19:04:02 +0200 |
commit | aaea1490351bfd1e8f21cb4b7e4c25d82d090e94 (patch) | |
tree | 3ecd0c64ae2e893fb14fce99a97aa17360d01cc8 /libavdevice/avdevice.h | |
parent | 93681fbd5082a3af896b7a730dacdd27a3052406 (diff) | |
download | ffmpeg-aaea1490351bfd1e8f21cb4b7e4c25d82d090e94.tar.gz |
lavdevice: mark v4l for removal on next major bump.
Diffstat (limited to 'libavdevice/avdevice.h')
-rw-r--r-- | libavdevice/avdevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h index d1e321bf3a..d82b26fda6 100644 --- a/libavdevice/avdevice.h +++ b/libavdevice/avdevice.h @@ -33,6 +33,10 @@ LIBAVDEVICE_VERSION_MICRO) #define LIBAVDEVICE_BUILD LIBAVDEVICE_VERSION_INT +#ifndef FF_API_V4L +#define FF_API_V4L (LIBAVDEVICE_VERSION_MAJOR < 54) +#endif + /** * Return the LIBAVDEVICE_VERSION_INT constant. */ |