forked from KolibriOS/kolibrios
fix r6860, small change in 'libimg.obj'
git-svn-id: svn://kolibrios.org@6870 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9490c62e74
commit
19552bad79
@ -2941,7 +2941,7 @@ align 4
|
|||||||
.cycle4:
|
.cycle4:
|
||||||
mov dword[edi+png_struct.zstream.avail_out],16*1024
|
mov dword[edi+png_struct.zstream.avail_out],16*1024
|
||||||
|
|
||||||
stdcall [deflate], esi, Z_FINISH ;Z_NO_FLUSH
|
stdcall [deflate], esi, Z_NO_FLUSH
|
||||||
cmp eax,Z_STREAM_ERROR
|
cmp eax,Z_STREAM_ERROR
|
||||||
je .end1
|
je .end1
|
||||||
|
|
||||||
@ -2949,12 +2949,13 @@ align 4
|
|||||||
sub ecx,[edi+png_struct.zstream.avail_out]
|
sub ecx,[edi+png_struct.zstream.avail_out]
|
||||||
cmp dword[edi+png_struct.zstream.avail_out],0
|
cmp dword[edi+png_struct.zstream.avail_out],0
|
||||||
je .cycle4 ;while (strm.avail_out == 0)
|
je .cycle4 ;while (strm.avail_out == 0)
|
||||||
if 0
|
|
||||||
mov dword[edi+png_struct.zstream.avail_out],16*1024
|
mov dword[edi+png_struct.zstream.avail_out],16*1024
|
||||||
stdcall [deflate], esi, Z_FINISH
|
stdcall [deflate], esi, Z_FINISH
|
||||||
|
add ecx,16*1024
|
||||||
|
sub ecx,[edi+png_struct.zstream.avail_out]
|
||||||
cmp eax,Z_STREAM_ERROR
|
cmp eax,Z_STREAM_ERROR
|
||||||
je .end1
|
je .end1
|
||||||
end if
|
|
||||||
stdcall [deflateEnd], esi
|
stdcall [deflateEnd], esi
|
||||||
|
|
||||||
if PNG_WRITE_OPTIMIZE_CMF_SUPPORTED eq 1
|
if PNG_WRITE_OPTIMIZE_CMF_SUPPORTED eq 1
|
||||||
|
@ -663,7 +663,7 @@ align 4
|
|||||||
imul eax,esi
|
imul eax,esi
|
||||||
add [edi+deflate_state.opt_len],eax
|
add [edi+deflate_state.opt_len],eax
|
||||||
cmp dword[stree],0
|
cmp dword[stree],0
|
||||||
jne .cycle1 ;if (..)
|
je .cycle1 ;if (..)
|
||||||
movzx eax,word[f]
|
movzx eax,word[f]
|
||||||
mov esi,[stree]
|
mov esi,[stree]
|
||||||
movzx esi,word[esi+sizeof.ct_data*ecx+Len]
|
movzx esi,word[esi+sizeof.ct_data*ecx+Len]
|
||||||
|
Loading…
Reference in New Issue
Block a user