diff options
author | Roger Pack <rogerdpack2@gmail.com> | 2016-08-16 16:42:29 +0300 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2016-08-20 13:06:50 +0300 |
commit | 18ce63a60e1bffc35b4df5d8a4f9a1ff1a96cb9a (patch) | |
tree | 498f7dac235ec242faa0665c7880142c06cb95ae /libavdevice/dshow_filter.c | |
parent | a8e3833a61c31f8271a55e847e8556d96cb9048a (diff) |
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.c | 4 |
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 |