summaryrefslogtreecommitdiffstats
path: root/loader/dshow/DS_VideoDecoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/dshow/DS_VideoDecoder.c')
-rw-r--r--loader/dshow/DS_VideoDecoder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loader/dshow/DS_VideoDecoder.c b/loader/dshow/DS_VideoDecoder.c
index 55b2a2e184..bc0b7b27ba 100644
--- a/loader/dshow/DS_VideoDecoder.c
+++ b/loader/dshow/DS_VideoDecoder.c
@@ -7,6 +7,7 @@
#include "guids.h"
#include "interfaces.h"
+#include "registry.h"
#ifndef NOAVIFILE_HEADERS
#include "videodecoder.h"
@@ -852,7 +853,7 @@ vim: vi* sux.
*/
int DS_SetAttr_DivX(char* attribute, int value){
- int result, status, newkey, count;
+ int result, status, newkey;
if(strcasecmp(attribute, "Quality")==0){
char* keyname="SOFTWARE\\Microsoft\\Scrunch";
result=RegCreateKeyExA(HKEY_CURRENT_USER, keyname, 0, 0, 0, 0, 0, &newkey, &status);