mirror of
https://github.com/Motion-Project/motion.git
synced 2026-06-12 07:44:34 -04:00
Add diagnostic push/pop on ffmpeg includes
This commit is contained in:
@@ -59,13 +59,16 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
extern "C" {
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavutil/imgutils.h>
|
||||
#include <libavutil/mathematics.h>
|
||||
#include <libavdevice/avdevice.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
}
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
extern "C" {
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavutil/imgutils.h>
|
||||
#include <libavutil/mathematics.h>
|
||||
#include <libavdevice/avdevice.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#ifdef HAVE_V4L2
|
||||
#if defined(HAVE_LINUX_VIDEODEV2_H)
|
||||
|
||||
Reference in New Issue
Block a user