Browse Source

fix altivec.h inclusion (vector keyword in structure)

Originally committed as revision 12839 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
tags/v0.5
Alex Beregszaszi 21 years ago
parent
commit
f2015f0c50
2 changed files with 4 additions and 3 deletions
  1. +0
    -3
      postproc/swscale.c
  2. +4
    -0
      postproc/swscale_internal.h

+ 0
- 3
postproc/swscale.c View File

@@ -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"


+ 4
- 0
postproc/swscale_internal.h View File

@@ -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