Re: Fix oleaut32/olepicture
29 Apr
2003
29 Apr
'03
11:21 p.m.
Maxime Bellengé <maxime.bellenge(a)laposte.net> writes:
+ bits = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY, + (jd.output_height+1)*(jd.output_width+jd.output_width%sizeof(DWORD))*jd.output_components); samprow=HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,jd.output_width*jd.output_components); + + oldbits = bits; + oldsamprow = samprow; + padding = jd.output_width%sizeof(DWORD);
The computations of the total width and of the padding are wrong, "width % sizeof(DWORD)" doesn't yield the result you want. -- Alexandre Julliard julliard(a)winehq.com
8264
Age (days ago)
8264
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard