Browse Source

avdevice/dshow: satisfy alloc contract better

prevent non-rgb24 crashes on windows 10 anniversary ed

Signed-off-by: Roger Pack <rogerpack2005@gmail.com>
Roger Pack 8 years ago
parent
commit
18ce63a60e
1 changed files with 1 additions and 3 deletions
  1. 1 3
      libavdevice/dshow_filter.c

+ 1 - 3
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