summaryrefslogtreecommitdiff
path: root/libavcodec/v4l2_buffers.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-06-14 18:03:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-22 15:29:46 +0200
commit25c8507818d8559a6654a5b30a0f8aae11a48181 (patch)
tree59f768e70e21d07f26a97724a2022c6d855cfcf1 /libavcodec/v4l2_buffers.h
parente3023e901524d1f9f59167962ee47672e61c2bc9 (diff)
downloadffmpeg-25c8507818d8559a6654a5b30a0f8aae11a48181.tar.gz
Remove/replace some unnecessary avcodec.h inclusions
Also remove other unnecessary headers and include headers directly while at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/v4l2_buffers.h')
-rw-r--r--libavcodec/v4l2_buffers.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/v4l2_buffers.h b/libavcodec/v4l2_buffers.h
index 8dbc7fc104..3d2ff1b9a5 100644
--- a/libavcodec/v4l2_buffers.h
+++ b/libavcodec/v4l2_buffers.h
@@ -25,9 +25,12 @@
#define AVCODEC_V4L2_BUFFERS_H
#include <stdatomic.h>
+#include <stddef.h>
#include <linux/videodev2.h>
-#include "avcodec.h"
+#include "libavutil/buffer.h"
+#include "libavutil/frame.h"
+#include "packet.h"
enum V4L2Buffer_status {
V4L2BUF_AVAILABLE,