Browse Source

swscale: fix To{Y,UV} extern prototypes.

This fix a bunch of "assignment from incompatible pointer type" warnings
with GCC.
tags/n1.1
Clément Bœsch 13 years ago
parent
commit
178ecfc257
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      libswscale/x86/swscale.c

+ 5
- 2
libswscale/x86/swscale.c View File

@@ -342,11 +342,14 @@ VSCALE_FUNCS(avx, avx);

#define INPUT_Y_FUNC(fmt, opt) \
extern void ff_ ## fmt ## ToY_ ## opt(uint8_t *dst, const uint8_t *src, \
const uint8_t *unused1, const uint8_t *unused2, \
int w, uint32_t *unused)
#define INPUT_UV_FUNC(fmt, opt) \
extern void ff_ ## fmt ## ToUV_ ## opt(uint8_t *dstU, uint8_t *dstV, \
const uint8_t *src, const uint8_t *unused1, \
int w, uint32_t *unused2)
const uint8_t *unused0, \
const uint8_t *src1, \
const uint8_t *src2, \
int w, uint32_t *unused)
#define INPUT_FUNC(fmt, opt) \
INPUT_Y_FUNC(fmt, opt); \
INPUT_UV_FUNC(fmt, opt)


Loading…
Cancel
Save