diff options
author | James Almer <jamrial@gmail.com> | 2017-09-23 18:12:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-09-23 18:13:01 -0300 |
commit | d1e7e4fbe2b07f191311cb56e82ef4c18fd0fda4 (patch) | |
tree | e79c58957f2088e845f2e953d196ff4265f5cefc /libavcodec | |
parent | ff7f859c2595f4daf9397d70af1a4a5d9da0ca59 (diff) | |
download | ffmpeg-streaming-d1e7e4fbe2b07f191311cb56e82ef4c18fd0fda4.zip ffmpeg-streaming-d1e7e4fbe2b07f191311cb56e82ef4c18fd0fda4.tar.gz |
avcodec/v4l2_m2m: add missing header inclusions
Should fix checkheaders on systems where v4l2_m2m is enabled.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/v4l2_buffers.h | 2 | ||||
-rw-r--r-- | libavcodec/v4l2_context.h | 2 | ||||
-rw-r--r-- | libavcodec/v4l2_m2m.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/v4l2_buffers.h b/libavcodec/v4l2_buffers.h index 8901a09..5d25a87 100644 --- a/libavcodec/v4l2_buffers.h +++ b/libavcodec/v4l2_buffers.h @@ -24,6 +24,8 @@ #ifndef AVCODEC_V4L2_BUFFERS_H #define AVCODEC_V4L2_BUFFERS_H +#include <linux/videodev2.h> + enum V4L2Buffer_status { V4L2BUF_AVAILABLE, V4L2BUF_IN_DRIVER, diff --git a/libavcodec/v4l2_context.h b/libavcodec/v4l2_context.h index b6667a0..503cc36 100644 --- a/libavcodec/v4l2_context.h +++ b/libavcodec/v4l2_context.h @@ -25,6 +25,8 @@ #define AVCODEC_V4L2_CONTEXT_H #include <stdatomic.h> +#include <linux/videodev2.h> + #include "libavcodec/avcodec.h" #include "libavutil/pixfmt.h" #include "libavutil/frame.h" diff --git a/libavcodec/v4l2_m2m.h b/libavcodec/v4l2_m2m.h index 13e2285..afa3987 100644 --- a/libavcodec/v4l2_m2m.h +++ b/libavcodec/v4l2_m2m.h @@ -27,6 +27,8 @@ #include <semaphore.h> #include <unistd.h> #include <dirent.h> +#include <linux/videodev2.h> + #include "libavcodec/avcodec.h" #include "v4l2_context.h" |