Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrogerdpack <rogerpack2005@gmail.com>2014-03-28 00:37:48 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-04-01 01:11:35 +0400
commit0cc8a62a78b3afa6092b0dca3d2c2bb3bb14668e (patch)
tree2303010553044ee39af272fa0d41bd076595d1cf
parentd5c0036d4adcec7a38aad6e3aab8792ab9bc074a (diff)
dshow: fixup some COM objects, based on patches from Don Moir
Signed-off-by: rogerdpack <rogerpack2005@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavdevice/dshow_enummediatypes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/dshow_enummediatypes.c b/libavdevice/dshow_enummediatypes.c
index aaed58b449..5b69a5b742 100644
--- a/libavdevice/dshow_enummediatypes.c
+++ b/libavdevice/dshow_enummediatypes.c
@@ -22,7 +22,7 @@
#include "dshow_capture.h"
DECLARE_QUERYINTERFACE(libAVEnumMediaTypes,
- { {&IID_IUnknown,0}, {&IID_IEnumPins,0} })
+ { {&IID_IUnknown,0}, {&IID_IEnumMediaTypes,0} })
DECLARE_ADDREF(libAVEnumMediaTypes)
DECLARE_RELEASE(libAVEnumMediaTypes)
@@ -82,7 +82,7 @@ libAVEnumMediaTypes_Clone(libAVEnumMediaTypes *this, libAVEnumMediaTypes **enums
static int
libAVEnumMediaTypes_Setup(libAVEnumMediaTypes *this, const AM_MEDIA_TYPE *type)
{
- IEnumPinsVtbl *vtbl = this->vtbl;
+ IEnumMediaTypesVtbl *vtbl = this->vtbl;
SETVTBL(vtbl, libAVEnumMediaTypes, QueryInterface);
SETVTBL(vtbl, libAVEnumMediaTypes, AddRef);
SETVTBL(vtbl, libAVEnumMediaTypes, Release);