diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-01-14 06:19:10 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-01-14 06:19:10 +0000 |
commit | a3e35e2852bc8e04f5aeb0b915114094aa1ac7a6 (patch) | |
tree | 2a2fb218afe782488ddd7191e81ff87485655445 /libswscale | |
parent | f267d3ac75942bd0fabb38361e00192b8254ba76 (diff) | |
download | ffmpeg-streaming-a3e35e2852bc8e04f5aeb0b915114094aa1ac7a6.zip ffmpeg-streaming-a3e35e2852bc8e04f5aeb0b915114094aa1ac7a6.tar.gz |
Add missing parameter to rgb48 to YV12 functions.
Originally committed as revision 30300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 0a989ca..0e86af9 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1097,7 +1097,8 @@ static void fillPlane(uint8_t* plane, int stride, int width, int height, int y, } } -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 rgb48ToY(uint8_t *dst, const uint8_t *src, int width) } 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(uint8_t *dstU, uint8_t *dstV, } 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); |