[FFmpeg-cvslog] Fix function pointer type to match function it is assigned.

Reimar Döffinger git at videolan.org
Sat May 7 20:15:00 CEST 2011


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat May  7 20:11:49 2011 +0200| [b06397acd458abc1fa73cf23b20de5b17253f283] | committer: Reimar Döffinger

Fix function pointer type to match function it is assigned.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b06397acd458abc1fa73cf23b20de5b17253f283
---

 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 f3fe83f..c4871b1 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;
 



More information about the ffmpeg-cvslog mailing list