summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/codecs.conf16
-rw-r--r--loader/win32.c8
2 files changed, 24 insertions, 0 deletions
diff --git a/etc/codecs.conf b/etc/codecs.conf
index 4c5ae7a19c..9065e56a0e 100644
--- a/etc/codecs.conf
+++ b/etc/codecs.conf
@@ -1348,6 +1348,22 @@ videocodec vivd2
out YUY2,YV12,I420,YVU9
out BGR32,BGR24,BGR15
+videocodec winx
+ info "Winnov Videum winx codec"
+ status buggy
+ fourcc WINX
+ driver vfwex
+ dll "wnvwinx.dll"
+ out BGR32,BGR24,BGR15
+
+videocodec wnv1
+ info "Winnov Videum wnv1 codec"
+ status buggy
+ fourcc WNV1
+ driver vfwex
+ dll "wnvplay1.dll"
+ out BGR32,BGR24,BGR15
+
; quicktime codecs:
videocodec qt3ivx
diff --git a/loader/win32.c b/loader/win32.c
index 859bf10eae..ce539a34f3 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -3582,6 +3582,14 @@ static HANDLE WINAPI expCreateFileA(LPCSTR cs1,DWORD i1,DWORD i2,
return r;
}
+ // Needed by wnvplay1.dll
+ if (strstr(cs1, "WINNOV.bmp"))
+ {
+ int r;
+ r=open("/dev/null", 0);
+ return r;
+ }
+
#if 0
/* we need this for some virtualdub filters */
{