mirror of https://github.com/mpv-player/mpv
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:
parent
2d3538e538
commit
56aea56fc0
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue