[FFmpeg-cvslog] avdevice/dshow: satisfy alloc contract better

Roger Pack git at videolan.org
Sat Aug 20 13:08:16 EEST 2016


ffmpeg | branch: master | Roger Pack <rogerdpack2 at gmail.com> | Tue Aug 16 07:42:29 2016 -0600| [18ce63a60e1bffc35b4df5d8a4f9a1ff1a96cb9a] | committer: Timo Rothenpieler

avdevice/dshow: satisfy alloc contract better

prevent non-rgb24 crashes on windows 10 anniversary ed

Signed-off-by: Roger Pack <rogerpack2005 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=18ce63a60e1bffc35b4df5d8a4f9a1ff1a96cb9a
---

 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 7360adc..db4bff6 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



More information about the ffmpeg-cvslog mailing list