From 18ce63a60e1bffc35b4df5d8a4f9a1ff1a96cb9a Mon Sep 17 00:00:00 2001 From: Roger Pack Date: Tue, 16 Aug 2016 07:42:29 -0600 Subject: [PATCH] avdevice/dshow: satisfy alloc contract better prevent non-rgb24 crashes on windows 10 anniversary ed Signed-off-by: Roger Pack --- libavdevice/dshow_filter.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavdevice/dshow_filter.c b/libavdevice/dshow_filter.c index 7360adcfcd..db4bff60f8 100644 --- a/libavdevice/dshow_filter.c +++ b/libavdevice/dshow_filter.c @@ -157,9 +157,7 @@ libAVFilter_QueryVendorInfo(libAVFilter *this, wchar_t **info) if (!info) return E_POINTER; - *info = wcsdup(L"libAV"); - - return S_OK; + return E_NOTIMPL; /* don't have to do anything here */ } static int