changeset 30259:2c671b7d2bd4

Add const qualifier to rgb48 to YV12 functions' src.
author ramiro
date Thu, 14 Jan 2010 06:19:45 +0000
parents 5788ae4c1e89
children 5c3dacc19ab8
files libswscale/swscale.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Thu Jan 14 06:19:10 2010 +0000
+++ b/libswscale/swscale.c	Thu Jan 14 06:19:45 2010 +0000
@@ -1111,8 +1111,8 @@
 }
 
 static inline void rgb48ToUV(uint8_t *dstU, uint8_t *dstV,
-                             uint8_t *src1, uint8_t *src2, int width,
-                             uint32_t *unused)
+                             const uint8_t *src1, const uint8_t *src2,
+                             int width, uint32_t *unused)
 {
     int i;
     assert(src1==src2);
@@ -1127,8 +1127,8 @@
 }
 
 static inline void rgb48ToUV_half(uint8_t *dstU, uint8_t *dstV,
-                                  uint8_t *src1, uint8_t *src2, int width,
-                                  uint32_t *unused)
+                                  const uint8_t *src1, const uint8_t *src2,
+                                  int width, uint32_t *unused)
 {
     int i;
     assert(src1==src2);