[Bf-blender-cvs] [b186592b211] master: Cleanup: move BKE_global include under ifdef's
Campbell Barton
noreply at git.blender.org
Mon Apr 2 14:20:57 CEST 2018
Commit: b186592b211ef91c20cc771ed743ee21a09223be
Author: Campbell Barton
Date: Mon Apr 2 14:19:44 2018 +0200
Branches: master
https://developer.blender.org/rBb186592b211ef91c20cc771ed743ee21a09223be
Cleanup: move BKE_global include under ifdef's
===================================================================
M source/blender/imbuf/intern/anim_movie.c
M source/blender/imbuf/intern/util.c
===================================================================
diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c
index 74ec5e885e5..cc8a38d5bf4 100644
--- a/source/blender/imbuf/intern/anim_movie.c
+++ b/source/blender/imbuf/intern/anim_movie.c
@@ -67,7 +67,6 @@
#include "BLI_path_util.h"
#include "MEM_guardedalloc.h"
-#include "BKE_global.h"
#ifdef WITH_AVI
# include "AVI_avi.h"
@@ -83,6 +82,8 @@
#include "IMB_indexer.h"
#ifdef WITH_FFMPEG
+# include "BKE_global.h" /* ENDIAN_ORDER */
+
# include <libavformat/avformat.h>
# include <libavcodec/avcodec.h>
# include <libavutil/rational.h>
diff --git a/source/blender/imbuf/intern/util.c b/source/blender/imbuf/intern/util.c
index 76a44aa81f7..9dfe926ddff 100644
--- a/source/blender/imbuf/intern/util.c
+++ b/source/blender/imbuf/intern/util.c
@@ -43,8 +43,6 @@
#include "BLI_fileops.h"
#include "BLI_string.h"
-#include "BKE_global.h"
-
#include "imbuf.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
@@ -53,6 +51,7 @@
#include "IMB_anim.h"
#ifdef WITH_FFMPEG
+#include "BKE_global.h" /* G.debug */
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavdevice/avdevice.h>
More information about the Bf-blender-cvs
mailing list