Skip to content

Commit

Permalink
Remove x86 compiler warning caused by PPC cleanup
Browse files Browse the repository at this point in the history
The way that CPU flags are handled in this filter needs rework.  There is no
sane reason that the MMX-specific labels should be visible in PPC, and vice
versa.  Just saving a few #if / #endif for prettiness doesn't make up for the
mess it made of the .o files.
  • Loading branch information
Beirdo committed May 8, 2011
1 parent b7b6b11 commit 8306cc4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mythtv/filters/linearblend/filter_linearblend.c
Expand Up @@ -32,9 +32,12 @@ typedef struct LBFilter
void linearBlend(unsigned char *src, int stride);
void linearBlendMMX(unsigned char *src, int stride);
void linearBlend3DNow(unsigned char *src, int stride);
inline void linearBlendAltivec(unsigned char *src, int stride);
int linearBlendFilterAltivec(VideoFilter *f, VideoFrame *frame, int field);

#if HAVE_ALTIVEC
inline void linearBlendAltivec(unsigned char *src, int stride);
#endif

#ifdef MMX

void linearBlendMMX(unsigned char *src, int stride)
Expand Down

0 comments on commit 8306cc4

Please sign in to comment.