Skip to content
Snippets Groups Projects
Commit 6465c977 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

Move Apple gcc AltiVec vector declaration syntax to libavutil.

Originally committed as revision 24143 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 8008a043
No related branches found
No related tags found
No related merge requests found
...@@ -21,12 +21,6 @@ ...@@ -21,12 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifdef SYS_DARWIN
#define AVV(x...) (x)
#else
#define AVV(x...) {x}
#endif
#define vzero vec_splat_s32(0) #define vzero vec_splat_s32(0)
static inline void static inline void
......
...@@ -27,12 +27,6 @@ ...@@ -27,12 +27,6 @@
#include "avutil.h" #include "avutil.h"
#ifdef SYS_DARWIN
#define AVV(x...) (x)
#else
#define AVV(x...) {x}
#endif
#define MAX_FILTER_SIZE 256 #define MAX_FILTER_SIZE 256
typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY, typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment