From 1b8778e314910cea940f7850a4b86e0ffb45dd65 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 11 Aug 2020 12:36:25 +0200 Subject: Cleanup: Strict compiler flags Mainly caused by moving tests to source folder, which brings new compiler flags. Also, no need to extend include directories (to the non-existing paths, btw) since this is done by the CmakeList.txt which is in the blenlib folder. --- intern/ffmpeg/tests/ffmpeg_codecs.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'intern') diff --git a/intern/ffmpeg/tests/ffmpeg_codecs.cc b/intern/ffmpeg/tests/ffmpeg_codecs.cc index d3cba6d228a..9538bac84d2 100644 --- a/intern/ffmpeg/tests/ffmpeg_codecs.cc +++ b/intern/ffmpeg/tests/ffmpeg_codecs.cc @@ -5,6 +5,8 @@ extern "C" { #include } +namespace { + bool test_vcodec(AVCodec *codec, AVPixelFormat pixelformat) { av_log_set_level(AV_LOG_QUIET); @@ -108,6 +110,8 @@ bool test_codec_audio_by_name(const char *codecname, AVSampleFormat fmt) EXPECT_TRUE(test_codec_audio_by_name(str(codec), fmt)); \ } +} // namespace + /* generic codec ID's used in blender */ FFMPEG_TEST_VCODEC_ID(AV_CODEC_ID_HUFFYUV, AV_PIX_FMT_BGRA) -- cgit v1.2.3