summaryrefslogtreecommitdiff
path: root/libavcodec/v4l2_fmt.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_fmt.h
parente3023e901524d1f9f59167962ee47672e61c2bc9 (diff)
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_fmt.h')
-rw-r--r--libavcodec/v4l2_fmt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/v4l2_fmt.h b/libavcodec/v4l2_fmt.h
index 01360029c8..577e03a7a7 100644
--- a/libavcodec/v4l2_fmt.h
+++ b/libavcodec/v4l2_fmt.h
@@ -24,8 +24,9 @@
#ifndef AVCODEC_V4L2_FMT_H
#define AVCODEC_V4L2_FMT_H
-#include "libavcodec/avcodec.h"
+#include <stdint.h>
#include "libavutil/pixfmt.h"
+#include "codec_id.h"
enum AVPixelFormat ff_v4l2_format_v4l2_to_avfmt(uint32_t v4l2_fmt, enum AVCodecID avcodec);
uint32_t ff_v4l2_format_avcodec_to_v4l2(enum AVCodecID avcodec);