forked from FFmpeg/FFmpeg
avdevice/v4l2*: Improve included headers
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
284313c664
commit
8550a05ece
3 changed files with 14 additions and 11 deletions
|
@ -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 @@
|
||||||
#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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue