# HG changeset patch # User michael # Date 1221242757 0 # Node ID f4cab7872474e2877959aef18058aafeba3fb1c7 # Parent a594051dc796336fbc0e13cd0820f7f9b6cd9f8b Fix another 1000l bug in the mono input code. diff -r a594051dc796 -r f4cab7872474 libswscale/swscale_template.c --- a/libswscale/swscale_template.c Fri Sep 12 17:51:13 2008 +0000 +++ b/libswscale/swscale_template.c Fri Sep 12 18:05:57 2008 +0000 @@ -2148,8 +2148,8 @@ 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; } }