diff --git a/libavutil/common.h b/libavutil/common.h
index d9377325bf7d79a34ee2b3bd0951e571f1a56449..f71eaf839e213a0f858590cc55c3d1c2e54b01f5 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -193,6 +193,7 @@ typedef uint64_t      uint_fast64_t;
 /* assume b>0 */
 #define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b))
 #define ABS(a) ((a) >= 0 ? (a) : (-(a)))
+#define SIGN(a) ((a) > 0 ? 1 : -1)
 
 #define FFMAX(a,b) ((a) > (b) ? (a) : (b))
 #define FFMIN(a,b) ((a) > (b) ? (b) : (a))
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index dabe9e1c670244873a06f62851007f48ec57b0b2..358656b76b264bbe120679a758975128f0608e83 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -101,7 +101,6 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
 
 #define MIN(a,b) ((a) > (b) ? (b) : (a))
 #define MAX(a,b) ((a) < (b) ? (b) : (a))
-#define SIGN(a) ((a) > 0 ? 1 : -1)
 
 #define GET_MODE_BUFFER_SIZE 500
 #define OPTIONS_ARRAY_SIZE 10