]> git.sesse.net Git - ffmpeg/commitdiff
Fix function pointer type to match function it is assigned.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 7 May 2011 18:11:49 +0000 (20:11 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 7 May 2011 18:14:48 +0000 (20:14 +0200)
libswscale/swscale_template.c

index f3fe83f67276fc91bb7b0cd42436096b98f321c1..c4871b1a45dda937ba8e49f541da107ac8be5fc0 100644 (file)
@@ -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;