Hide some more FFmpeg warnings. v2.15.143
authorCarl Hetherington <cth@carlh.net>
Fri, 7 May 2021 17:13:04 +0000 (19:13 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 7 May 2021 18:39:09 +0000 (20:39 +0200)
src/lib/audio_analyser.cc
src/lib/cross_linux.cc
src/lib/environment_info.cc
src/lib/ffmpeg_file_encoder.h
src/lib/ffmpeg_image_proxy.cc
src/lib/ffmpeg_stream.cc
src/lib/ffmpeg_wrapper.cc
src/lib/filter.cc
src/lib/filter_graph.h
src/lib/util.cc

index 3caa997df139951f12f27611816e3170c78b51e4..3868e05b7196e4724e243d17acdfe78b11a476d9 100644 (file)
 #include "filter.h"
 #include "playlist.h"
 #include "types.h"
+#include "warnings.h"
 extern "C" {
 #include <leqm_nrt.h>
+DCPOMATIC_DISABLE_WARNINGS
 #include <libavutil/channel_layout.h>
 #ifdef DCPOMATIC_HAVE_EBUR128_PATCHED_FFMPEG
 #include <libavfilter/f_ebur128.h>
 #endif
+DCPOMATIC_ENABLE_WARNINGS
 }
 
 
index a3dbdebf2a4b9fb5e3c10a1959d0d2b5985c19c0..326e590b8b8ce7e2d3840024f06dad240f836d5f 100644 (file)
 #include "dcpomatic_log.h"
 #include "exceptions.h"
 #include "log.h"
+#include "warnings.h"
 #include <dcp/raw_convert.h>
 #include <glib.h>
+DCPOMATIC_DISABLE_WARNINGS
 extern "C" {
 #include <libavformat/avio.h>
 }
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/algorithm/string.hpp>
 #if BOOST_VERSION >= 106100
 #include <boost/dll/runtime_symbol_info.hpp>
index 7a8fe68bc0c88c350835859b8c87b55bffbd42e1..2a6d47a005f1d077a3bea152840a9d7a05934a56 100644 (file)
 */
 
 
-#include "log.h"
 #include "compose.hpp"
-#include "version.h"
 #include "cross.h"
+#include "log.h"
+#include "version.h"
+#include "warnings.h"
 #include <dcp/version.h>
 #include <libssh/libssh.h>
+DCPOMATIC_DISABLE_WARNINGS
 extern "C" {
 #include <libavcodec/avcodec.h>
 #include <libavformat/avformat.h>
@@ -32,6 +34,7 @@ extern "C" {
 #include <libswscale/swscale.h>
 #include <libavutil/pixfmt.h>
 }
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/thread.hpp>
 
 #include "i18n.h"
index 8a727106a7fe44194ceb72b957ea0cff4b0ce7c7..330ae1ff97bc0757efc483e2668f5d1aeed7bb05 100644 (file)
 #include "event_history.h"
 #include "audio_mapping.h"
 #include "log.h"
+#include "warnings.h"
 #include <dcp/key.h>
+DCPOMATIC_DISABLE_WARNINGS
 extern "C" {
 #include <libavcodec/avcodec.h>
 #include <libavformat/avformat.h>
 }
+DCPOMATIC_ENABLE_WARNINGS
 
 
 class ExportAudioStream;
index 7b23221011474a246675977f9f7b260b29199484..ab9b94b149e10e0ffdeafae194742d4e7ccef930 100644 (file)
 #include "util.h"
 #include "warnings.h"
 #include <dcp/raw_convert.h>
+DCPOMATIC_DISABLE_WARNINGS
 extern "C" {
 #include <libavcodec/avcodec.h>
 #include <libavformat/avformat.h>
 #include <libavutil/pixdesc.h>
 }
-DCPOMATIC_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
 DCPOMATIC_ENABLE_WARNINGS
 #include <iostream>
index 60327ab0d9d87c0f199215da1f05dda10dd67dd8..2d85a90bb69fcf81bc595b2ec3f96439bb5b1de4 100644 (file)
 #include <dcp/raw_convert.h>
 DCPOMATIC_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
-DCPOMATIC_ENABLE_WARNINGS
 extern "C" {
 #include <libavformat/avformat.h>
 }
+DCPOMATIC_ENABLE_WARNINGS
 
 using std::string;
 using dcp::raw_convert;
index aacaeaae3021dbb27477542581b267104e1dc2e2..dbd2dce9f725a7bb3cbda6287b807f7cb89940a2 100644 (file)
 */
 
 
+#include "ffmpeg_wrapper.h"
+#include "warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 extern "C" {
 #include <libavformat/avformat.h>
 }
-#include "ffmpeg_wrapper.h"
+DCPOMATIC_ENABLE_WARNINGS
 #include <new>
 
 
index 1c1039065227c4c5c3fdbc27abf8ded1a331b8c8..5631af55a8885a5d1e6a02cad27d1cb7e85bd9a8 100644 (file)
 
 
 #include "filter.h"
+#include "warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 extern "C" {
 #include <libavfilter/avfilter.h>
 }
+DCPOMATIC_ENABLE_WARNINGS
 #include <iostream>
 
 #include "i18n.h"
index eccfe4954ea1442e421f863f5a5462638c3c1325..d5a2da7a29be925cbbb6e572544a8390dd2c57ba 100644 (file)
 #define DCPOMATIC_FILTER_GRAPH_H
 
 #include "util.h"
+#include "warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 extern "C" {
 #include <libavfilter/buffersink.h>
 }
+DCPOMATIC_ENABLE_WARNINGS
 
 struct AVFilterContext;
 struct AVFrame;
index 2b686da698518495bd77cde42b8b6862213127df..6286d1a658dd9fde4bb1320bbd140586f49b05b4 100644 (file)
 #include <dcp/sound_asset.h>
 #include <dcp/subtitle_asset.h>
 #include <dcp/atmos_asset.h>
+DCPOMATIC_DISABLE_WARNINGS
 extern "C" {
 #include <libavfilter/avfilter.h>
 #include <libavformat/avformat.h>
 #include <libavcodec/avcodec.h>
 }
+DCPOMATIC_ENABLE_WARNINGS
 #include <curl/curl.h>
 #include <glib.h>
 #include <pangomm/init.h>