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;
|
||||
MemAllocator* tempAll;
|
||||
ALLOCATOR_PROPERTIES props,props1;
|
||||
HRESULT result;
|
||||
DS_Filter* This = malloc(sizeof(DS_Filter));
|
||||
if (!This)
|
||||
return NULL;
|
||||
|
@ -168,6 +167,7 @@ DS_Filter* DS_FilterCreate(const char* dllname, const GUID* id,
|
|||
IEnumPins* enum_pins = 0;
|
||||
IPin* array[256];
|
||||
ULONG fetched;
|
||||
HRESULT result;
|
||||
unsigned int i;
|
||||
|
||||
This->m_iHandle = LoadLibraryA(dllname);
|
||||
|
|
Loading…
Reference in New Issue