Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
8550a05e
Commit
8550a05e
authored
May 06, 2022
by
Andreas Rheinhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avdevice/v4l2*: Improve included headers
Signed-off-by:
Andreas Rheinhardt
<
andreas.rheinhardt@outlook.com
>
parent
284313c6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
+14
-11
v4l2-common.h
libavdevice/v4l2-common.h
+3
-10
v4l2.c
libavdevice/v4l2.c
+8
-0
v4l2enc.c
libavdevice/v4l2enc.c
+3
-1
No files found.
libavdevice/v4l2-common.h
View file @
8550a05e
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#undef __STRICT_ANSI__ //workaround due to broken kernel headers
#undef __STRICT_ANSI__ //workaround due to broken kernel headers
#include "config.h"
#include "config.h"
#include
"libavformat/internal.h"
#include
<stdint.h>
#include <unistd.h>
#include <unistd.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
...
@@ -35,15 +35,8 @@
...
@@ -35,15 +35,8 @@
#endif
#endif
#include <linux/videodev2.h>
#include <linux/videodev2.h>
#endif
#endif
#include "libavutil/imgutils.h"
#include "libavutil/pixfmt.h"
#include "libavutil/log.h"
#include "libavcodec/codec_id.h"
#include "libavutil/opt.h"
#include "avdevice.h"
#include "timefilter.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/time.h"
#include "libavutil/avstring.h"
struct
fmt_map
{
struct
fmt_map
{
enum
AVPixelFormat
ff_fmt
;
enum
AVPixelFormat
ff_fmt
;
...
...
libavdevice/v4l2.c
View file @
8550a05e
...
@@ -34,7 +34,15 @@
...
@@ -34,7 +34,15 @@
#include "libavutil/avassert.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/time.h"
#include "libavcodec/codec_desc.h"
#include "libavformat/demux.h"
#include "libavformat/demux.h"
#include "libavformat/internal.h"
#include "avdevice.h"
#include "timefilter.h"
#include "v4l2-common.h"
#include "v4l2-common.h"
#include <dirent.h>
#include <dirent.h>
...
...
libavdevice/v4l2enc.c
View file @
8550a05e
...
@@ -18,8 +18,10 @@
...
@@ -18,8 +18,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
*/
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "libavformat/avformat.h"
#include "v4l2-common.h"
#include "v4l2-common.h"
#include "avdevice.h"
typedef
struct
{
typedef
struct
{
AVClass
*
class
;
AVClass
*
class
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment