]>
Commit | Line | Data |
---|---|---|
fa3b79f0 AM |
1 | diff -ru avifile-0.50.orig/lib/videocodec/Module.cpp avifile-0.50/lib/videocodec/Module.cpp |
2 | --- avifile-0.50.orig/lib/videocodec/Module.cpp Sat Sep 30 11:17:51 2000 | |
3 | +++ avifile-0.50/lib/videocodec/Module.cpp Tue Oct 24 23:17:22 2000 | |
4 | @@ -44,12 +44,12 @@ | |
5 | throw FATAL("Could not load library"); | |
6 | try | |
7 | { | |
8 | - if(name==string("divxc32.dll")) | |
9 | + if(name==string("divxc32.dll") || name==string("divxc32f.dll")) | |
10 | { | |
11 | int newkey; | |
12 | int bitrate; | |
13 | int count=4; | |
14 | - if(RegOpenKeyExA(HKEY_CURRENT_USER, "Software\\LinuxLoader\\div3", 0, 0, &newkey)!=0) | |
15 | + if(RegOpenKeyExA(HKEY_CURRENT_USER, "Software\\LinuxLoader\\Div3", 0, 0, &newkey)!=0) | |
16 | { | |
17 | // cerr<<"Could not open Divx key"<<endl; | |
18 | goto no_reg; | |
19 | @@ -60,7 +60,7 @@ | |
20 | RegCloseKey(newkey); | |
21 | goto no_reg; | |
22 | } | |
23 | - | |
24 | + printf("::module bitrate: %d\n",bitrate); | |
25 | *(double*)((char*)_handle+0x14c0)=bitrate; | |
26 | RegCloseKey(newkey); | |
27 | no_reg: |