diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-05-07 20:11:49 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-05-07 20:14:48 +0200 |
commit | b06397acd458abc1fa73cf23b20de5b17253f283 (patch) | |
tree | 0c132c171f8b9f78f69c90e59818299c82fb1c60 /libswscale/swscale_template.c | |
parent | 80264dc4222312d563053cb677f7c2cb0e4c0935 (diff) | |
download | ffmpeg-b06397acd458abc1fa73cf23b20de5b17253f283.tar.gz |
Fix function pointer type to match function it is assigned.
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r-- | libswscale/swscale_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index f3fe83f672..c4871b1a45 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -2406,7 +2406,7 @@ static inline void RENAME(hyscale)(SwsContext *c, uint16_t *dst, long dstWidth, uint32_t *pal, int isAlpha) { void (*toYV12)(uint8_t *, const uint8_t *, long, uint32_t *) = isAlpha ? c->alpToYV12 : c->lumToYV12; - void (*convertRange)(uint16_t *, int) = isAlpha ? NULL : c->lumConvertRange; + void (*convertRange)(int16_t *, int) = isAlpha ? NULL : c->lumConvertRange; src += isAlpha ? c->alpSrcOffset : c->lumSrcOffset; |