changeset 25679:12fcf17e83e0

Move variable declaration into block where it is used.
author reimar
date Sun, 13 Jan 2008 09:39:28 +0000
parents ebf1c7d24ca2
children 866022c27d67
files loader/dshow/DS_Filter.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dshow/DS_Filter.c	Sun Jan 13 09:38:39 2008 +0000
+++ b/loader/dshow/DS_Filter.c	Sun Jan 13 09:39:28 2008 +0000
@@ -129,7 +129,6 @@
     const char* em = NULL;
     MemAllocator* tempAll;
     ALLOCATOR_PROPERTIES props,props1;
-    HRESULT result;
     DS_Filter* This = malloc(sizeof(DS_Filter));
     if (!This)
 	return NULL;
@@ -168,6 +167,7 @@
 	IEnumPins* enum_pins = 0;
 	IPin* array[256];
 	ULONG fetched;
+        HRESULT result;
         unsigned int i;
 
 	This->m_iHandle = LoadLibraryA(dllname);