changeset 30258:5788ae4c1e89

Add missing parameter to rgb48 to YV12 functions.
author ramiro
date Thu, 14 Jan 2010 06:19:10 +0000
parents 77265abe0200
children 2c671b7d2bd4
files libswscale/swscale.c
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Wed Jan 13 17:49:48 2010 +0000
+++ b/libswscale/swscale.c	Thu Jan 14 06:19:10 2010 +0000
@@ -1097,7 +1097,8 @@
     }
 }
 
-static inline void rgb48ToY(uint8_t *dst, const uint8_t *src, int width)
+static inline void rgb48ToY(uint8_t *dst, const uint8_t *src, int width,
+                            uint32_t *unused)
 {
     int i;
     for (i = 0; i < width; i++) {
@@ -1110,7 +1111,8 @@
 }
 
 static inline void rgb48ToUV(uint8_t *dstU, uint8_t *dstV,
-                             uint8_t *src1, uint8_t *src2, int width)
+                             uint8_t *src1, uint8_t *src2, int width,
+                             uint32_t *unused)
 {
     int i;
     assert(src1==src2);
@@ -1125,7 +1127,8 @@
 }
 
 static inline void rgb48ToUV_half(uint8_t *dstU, uint8_t *dstV,
-                                  uint8_t *src1, uint8_t *src2, int width)
+                                  uint8_t *src1, uint8_t *src2, int width,
+                                  uint32_t *unused)
 {
     int i;
     assert(src1==src2);