Subversion Repositories Kolibri OS

Rev

Rev 6780 | Rev 6870 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6780 Rev 6797
Line 2937... Line 2937...
2937
	mov [edi+png_struct.zstream.next_out],eax
2937
	mov [edi+png_struct.zstream.next_out],eax
2938
	xor ecx,ecx
2938
	xor ecx,ecx
2939
align 4
2939
align 4
2940
	.cycle4:
2940
	.cycle4:
2941
		mov word[edi+png_struct.zstream.avail_out],16*1024
2941
		mov dword[edi+png_struct.zstream.avail_out],16*1024
2942
 
2942
 
Line 2943... Line 2943...
2943
		stdcall [deflate], esi, Z_FINISH ;Z_NO_FLUSH
2943
		stdcall [deflate], esi, Z_FINISH ;Z_NO_FLUSH
2944
		cmp eax,Z_STREAM_ERROR
2944
		cmp eax,Z_STREAM_ERROR
2945
		je .end1
2945
		je .end1
Line 2946... Line 2946...
2946
 
2946
 
2947
		add ecx,16*1024
2947
		add ecx,16*1024
2948
		movzx eax,word[edi+png_struct.zstream.avail_out]
-
 
2949
		sub ecx,eax
2948
		sub ecx,[edi+png_struct.zstream.avail_out]
2950
		cmp word[edi+png_struct.zstream.avail_out],0
2949
		cmp dword[edi+png_struct.zstream.avail_out],0
2951
	je .cycle4 ;while (strm.avail_out == 0)
2950
	je .cycle4 ;while (strm.avail_out == 0)
2952
if 0
2951
if 0
2953
	mov word[edi+png_struct.zstream.avail_out],16*1024
2952
	mov dword[edi+png_struct.zstream.avail_out],16*1024
2954
	stdcall [deflate], esi, Z_FINISH
2953
	stdcall [deflate], esi, Z_FINISH
2955
	cmp eax,Z_STREAM_ERROR
2954
	cmp eax,Z_STREAM_ERROR
2956
	je .end1
2955
	je .end1
2957
end if
2956
end if