Commit 4cf66a81 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '50078c1c'

* commit '50078c1c':
  libavutil: move FFALIGN macro from common.h to macros.h
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 40231a58 50078c1c
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include <string.h> #include <string.h>
#include "attributes.h" #include "attributes.h"
#include "macros.h"
#include "version.h" #include "version.h"
#include "libavutil/avconfig.h" #include "libavutil/avconfig.h"
...@@ -94,7 +95,6 @@ ...@@ -94,7 +95,6 @@
#define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)
#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0])) #define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
#define FFALIGN(x, a) (((x)+(a)-1)&~((a)-1))
/* misc math functions */ /* misc math functions */
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include "timer.h" #include "timer.h"
#include "cpu.h" #include "cpu.h"
#include "dict.h" #include "dict.h"
#include "macros.h"
#include "pixfmt.h" #include "pixfmt.h"
#include "version.h" #include "version.h"
......
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include <string.h> #include <string.h>
#include "attributes.h" #include "attributes.h"
#include "config.h"
#include "internal.h"
#include "version.h" #include "version.h"
#include "lls.h" #include "lls.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#ifndef AVUTIL_LLS_H #ifndef AVUTIL_LLS_H
#define AVUTIL_LLS_H #define AVUTIL_LLS_H
#include "common.h" #include "macros.h"
#include "mem.h" #include "mem.h"
#include "version.h" #include "version.h"
......
...@@ -45,4 +45,6 @@ ...@@ -45,4 +45,6 @@
#define AV_PRAGMA(s) _Pragma(#s) #define AV_PRAGMA(s) _Pragma(#s)
#define FFALIGN(x, a) (((x)+(a)-1)&~((a)-1))
#endif /* AVUTIL_MACROS_H */ #endif /* AVUTIL_MACROS_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment