vlc | branch: master | Thomas Guillem <[email protected]> | Fri Jun 16 18:08:36 
2017 +0200| [70460c50fbc8cc796fc11272f7d08429ed0e8155] | committer: Thomas 
Guillem

hw: vaapi: chroma: fix uninitialized var usage

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70460c50fbc8cc796fc11272f7d08429ed0e8155
---

 modules/hw/vaapi/chroma.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/hw/vaapi/chroma.c b/modules/hw/vaapi/chroma.c
index 605c4deb46..771feb5c3a 100644
--- a/modules/hw/vaapi/chroma.c
+++ b/modules/hw/vaapi/chroma.c
@@ -307,6 +307,8 @@ static int Open(vlc_object_t *obj)
         msg_Err(obj, "unable to allocate memory");
         return VLC_ENOMEM;
     }
+    filter_sys->derive_failed = false;
+    filter_sys->image_fallback_failed = false;
 
     if (is_upload)
     {

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to