Fix compile error in images.jpeg
							parent
							
								
									ae60761d42
								
							
						
					
					
						commit
						468d1d40c9
					
				| 
						 | 
				
			
			@ -121,16 +121,14 @@ TUPLE: jpeg-color-info
 | 
			
		|||
 | 
			
		||||
: decode-huff-table ( chunk -- )
 | 
			
		||||
    data>> [ binary <byte-reader> ] [ length ] bi limit-stream [
 | 
			
		||||
        [ input-stream get stream>> [ count>> ] [ limit>> ] bi < ]
 | 
			
		||||
        [
 | 
			
		||||
            [ input-stream get stream>> [ count>> ] [ limit>> ] bi < ]
 | 
			
		||||
            [
 | 
			
		||||
                read4/4 swap 2 * +
 | 
			
		||||
                16 read
 | 
			
		||||
                dup [ ] [ + ] map-reduce read
 | 
			
		||||
                binary [ [ read [ B{ } ] unless* ] { } map-as ] with-byte-reader
 | 
			
		||||
                swap jpeg> huff-tables>> set-nth
 | 
			
		||||
            ] while
 | 
			
		||||
        ] with-input-stream*
 | 
			
		||||
            read4/4 swap 2 * +
 | 
			
		||||
            16 read
 | 
			
		||||
            dup [ ] [ + ] map-reduce read
 | 
			
		||||
            binary [ [ read [ B{ } ] unless* ] { } map-as ] with-byte-reader
 | 
			
		||||
            swap jpeg> huff-tables>> set-nth
 | 
			
		||||
        ] while
 | 
			
		||||
    ] stream-throw-on-eof ;
 | 
			
		||||
 | 
			
		||||
: decode-scan ( chunk -- )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue