Move variable declaration into block where it is used.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25707 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-01-13 09:39:28 +00:00
parent 2d3538e538
commit 56aea56fc0
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,6 @@ DS_Filter* DS_FilterCreate(const char* dllname, const GUID* id,
const char* em = NULL; const char* em = NULL;
MemAllocator* tempAll; MemAllocator* tempAll;
ALLOCATOR_PROPERTIES props,props1; ALLOCATOR_PROPERTIES props,props1;
HRESULT result;
DS_Filter* This = malloc(sizeof(DS_Filter)); DS_Filter* This = malloc(sizeof(DS_Filter));
if (!This) if (!This)
return NULL; return NULL;
@ -168,6 +167,7 @@ DS_Filter* DS_FilterCreate(const char* dllname, const GUID* id,
IEnumPins* enum_pins = 0; IEnumPins* enum_pins = 0;
IPin* array[256]; IPin* array[256];
ULONG fetched; ULONG fetched;
HRESULT result;
unsigned int i; unsigned int i;
This->m_iHandle = LoadLibraryA(dllname); This->m_iHandle = LoadLibraryA(dllname);