summaryrefslogtreecommitdiff
path: root/libavdevice/dshow_filter.c
diff options
context:
space:
mode:
authorRoger Pack <rogerdpack2@gmail.com>2016-08-16 07:42:29 -0600
committerTimo Rothenpieler <timo@rothenpieler.org>2016-08-20 12:06:50 +0200
commit18ce63a60e1bffc35b4df5d8a4f9a1ff1a96cb9a (patch)
tree498f7dac235ec242faa0665c7880142c06cb95ae /libavdevice/dshow_filter.c
parenta8e3833a61c31f8271a55e847e8556d96cb9048a (diff)
downloadffmpeg-18ce63a60e1bffc35b4df5d8a4f9a1ff1a96cb9a.tar.gz
avdevice/dshow: satisfy alloc contract better
prevent non-rgb24 crashes on windows 10 anniversary ed Signed-off-by: Roger Pack <rogerpack2005@gmail.com>
Diffstat (limited to 'libavdevice/dshow_filter.c')
-rw-r--r--libavdevice/dshow_filter.c4
1 files changed, 1 insertions, 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