[Mplayer-cvslog] CVS: main/loader module.c,1.17,1.18

Alex Beregszaszi alex at fsn.hu
Thu Jan 29 10:13:45 CET 2004


Hi,

> Modified Files:
> 	module.c 
> Log Message:
> switch to inttypes.h (u_int32_t vs uint32_t) in favour of Solaris9/x86
> support
omg, i had to reverse this because a development code slipped in

> @@ -493,6 +493,28 @@
>  #endif
>  	}
>  
> +	if (strstr(libname,"vp31vfw.dll") && wm)
> +	{
> +	    int i;
> +
> +	    fprintf(stderr, "VP3 DLL found\n");
> +	    fprintf(stderr, "patched at: %x - %x\n",
> +//		wm->module+0x4bd7, wm->module+0x4bd7+18);
> +		wm->module+0x34993-0x1000, wm->module+0x34993-0x1000+18);
> +//	    for (i=0;i<18;i++) ((char*)0x10004bd7)[i]=0x90;
> +	    for (i=0;i<18;i++)
> ((char*)(wm->module+/*0x4bd7*/0x34993-0x1000))[i]=0x90;+	}
> +
> +	if (strstr(libname,"vp6vfw.dll") && wm)
> +	{
> +	    int i;
> +
> +	    fprintf(stderr, "VP6 DLL found\n");
> +	    for (i=0;i<6;i++) ((char*)0x10007268)[i]=0x90;
> +	    for (i=0;i<6;i++) ((char*)0x10007e83)[i]=0x90;
> +	    for (i=0;i<6;i++) ((char*)0x1000806a)[i]=0x90;
> +	}
> +
>  	return wm ? wm->module : 0;
>  }
>  
> @@ -647,10 +669,10 @@

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)




More information about the MPlayer-cvslog mailing list