Re: Video Capture
- Posted by stabmaster_ at hotmail.com Oct 05, 2002
- 419 views
After fixing the typo on line 470 (it said e_c_func instead of define_c_func) i ran the program, only to get an access violation. If it's of any help, here's the function that caused the crash: 77E9486F push ebp 77E94870 mov ebp,esp 77E94872 push ecx 77E94873 push ecx 77E94874 mov edx,dword ptr [ebp+8] 77E94877 mov eax,dword ptr [ebp+18h] 77E9487A and dword ptr [ebp-4],0 77E9487E push ebx 77E9487F push esi 77E94880 push edi 77E94881 mov edi,dword ptr [edx+1Ch] 77E94884 test eax,eax 77E94886 mov dword ptr [ebp-8],edi 77E94889 je 77E8E03B 77E9488F mov ecx,dword ptr [ebp+14h] 77E94892 mov edx,dword ptr [edx+8] 77E94895 add eax,ecx 77E94897 cmp word ptr [edx+2],1 77E9489C mov dword ptr [ebp+18h],eax 77E9489F jne 77ED0633 77E948A5 mov esi,dword ptr [ebp+10h] 77E948A8 mov edx,dword ptr [ebp+0Ch] 77E948AB sub esi,edx 77E948AD sub eax,ecx 77E948AF sar esi,1 77E948B1 cmp eax,esi 77E948B3 mov dword ptr [ebp-4],esi 77E948B6 jl 77EA2798 77E948BC test byte ptr [ebp+1Dh],4 77E948C0 jne 77E99A44 77E948C6 test esi,esi 77E948C8 jle 77E948DB 77E948CA mov esi,dword ptr [ebp-4] 77E948CD movzx eax,word ptr [edx] 77E948D0 inc edx 77E948D1 mov al,byte ptr [eax+edi] 77E948D4 inc edx 77E948D5 mov byte ptr [ecx],al <-- *CRASH!* 77E948D7 inc ecx 77E948D8 dec esi 77E948D9 jne 77E948CD 77E948DB cmp edx,dword ptr [ebp+10h] 77E948DE jb 77EA27A2 77E948E4 mov eax,dword ptr [ebp-4] 77E948E7 pop edi 77E948E8 pop esi 77E948E9 pop ebx 77E948EA leave 77E948EB ret 18h