summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 09:39:28 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 09:39:28 +0000
commit56aea56fc0a14cb5257084a082ad141761be6311 (patch)
tree9822288f1232626b30717119b6994e24b47eb1c6 /loader
parent2d3538e538b13efbcfbc4b1c319a8bf4dfe69384 (diff)
downloadmpv-56aea56fc0a14cb5257084a082ad141761be6311.tar.bz2
mpv-56aea56fc0a14cb5257084a082ad141761be6311.tar.xz
Move variable declaration into block where it is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25707 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r--loader/dshow/DS_Filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/dshow/DS_Filter.c b/loader/dshow/DS_Filter.c
index 692e1a847f..75a4d4f15e 100644
--- a/loader/dshow/DS_Filter.c
+++ b/loader/dshow/DS_Filter.c
@@ -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);