fix altivec.h inclusion (vector keyword in structure)

Originally committed as revision 12839 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
pull/126/head
Alex Beregszaszi 21 years ago
parent 95d45b1e64
commit f2015f0c50
  1. 3
      postproc/swscale.c
  2. 4
      postproc/swscale_internal.h

@ -61,9 +61,6 @@ untested special converters
#else
#include <stdlib.h>
#endif
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
#include "swscale.h"
#include "swscale_internal.h"
#include "../cpudetect.h"

@ -19,6 +19,10 @@
#ifndef SWSCALE_INTERNAL_H
#define SWSCALE_INTERNAL_H
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
#include "../mp_msg.h"
#define MSG_WARN(args...) mp_msg(MSGT_SWS,MSGL_WARN, ##args )

Loading…
Cancel
Save