From df44f03e48729ed1e72485af4a0893b2ec65f005 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 12 Sep 2008 18:05:57 +0000 Subject: Fix another 1000l bug in the mono input code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27590 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale_template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libswscale') diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index 1dec7b8751..bccead88df 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -2148,8 +2148,8 @@ static inline void RENAME(mono2Y)(uint8_t *dst, uint8_t *src, long width, int fo int i, j; for (i=0; i=0; j--) - dst[i]= ((d>>j)&1)*255; + for(j=0; j<8; j++) + dst[8*i+j]= ((d>>(7-j))&1)*255; } } -- cgit v1.2.3