[FFmpeg-cvslog] r30301 - trunk/libswscale/swscale.c

ramiro subversion
Thu Jan 14 07:19:45 CET 2010


Author: ramiro
Date: Thu Jan 14 07:19:45 2010
New Revision: 30301

Log:
Add const qualifier to rgb48 to YV12 functions' src.

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	Thu Jan 14 07:19:10 2010	(r30300)
+++ trunk/libswscale/swscale.c	Thu Jan 14 07:19:45 2010	(r30301)
@@ -1111,8 +1111,8 @@ static inline void rgb48ToY(uint8_t *dst
 }
 
 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(uint8_t *ds
 }
 
 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);



More information about the ffmpeg-cvslog mailing list