Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | From 62c2f041890a6e20770350721a0a2138d0b38634 Mon Sep 17 00:00:00 2001 |
| 2 | From: Vincent Davis Jr <vince@underview.tech> |
| 3 | Date: Sat, 3 Dec 2022 23:35:51 -0600 |
| 4 | Subject: [PATCH] libavcodec: fix v4l2_req_devscan.h |
| 5 | |
| 6 | Upstream-Status: Inappropriate |
| 7 | |
| 8 | RPI-Distro repo clones original ffmpeg and applies patches to enable |
| 9 | raspiberry pi support. |
| 10 | |
| 11 | Fixes minor differences between v4l2_req_devscan.c |
| 12 | and v4l2_req_devscan.h after all patches have been |
| 13 | applied. |
| 14 | |
| 15 | Signed-off-by: Vincent Davis Jr <vince@underview.tech> |
| 16 | --- |
| 17 | libavcodec/v4l2_req_devscan.h | 5 ++++- |
| 18 | 1 file changed, 4 insertions(+), 1 deletion(-) |
| 19 | |
| 20 | diff --git a/libavcodec/v4l2_req_devscan.h b/libavcodec/v4l2_req_devscan.h |
| 21 | index 0baef365..cd9c49ac 100644 |
| 22 | --- a/libavcodec/v4l2_req_devscan.h |
| 23 | +++ b/libavcodec/v4l2_req_devscan.h |
| 24 | @@ -1,6 +1,8 @@ |
| 25 | #ifndef _DEVSCAN_H_ |
| 26 | #define _DEVSCAN_H_ |
| 27 | |
| 28 | +#include <stdint.h> |
| 29 | + |
| 30 | struct devscan; |
| 31 | struct decdev; |
| 32 | enum v4l2_buf_type; |
| 33 | @@ -13,7 +15,8 @@ const char *decdev_video_path(const struct decdev *const dev); |
| 34 | enum v4l2_buf_type decdev_src_type(const struct decdev *const dev); |
| 35 | uint32_t decdev_src_pixelformat(const struct decdev *const dev); |
| 36 | |
| 37 | -const struct decdev *devscan_find(struct devscan *const scan, const uint32_t src_fmt_v4l2); |
| 38 | +const struct decdev *devscan_find(struct devscan *const scan, |
| 39 | + const uint32_t src_fmt_v4l2); |
| 40 | |
| 41 | int devscan_build(void * const dc, struct devscan **pscan); |
| 42 | void devscan_delete(struct devscan **const pScan); |
| 43 | -- |
| 44 | 2.38.1 |
| 45 | |