[vlc-commits] hw: vaapi: chroma: fix uninitialized var usage
Thomas Guillem
git at videolan.org
Fri Jun 16 18:09:15 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | 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)
{
More information about the vlc-commits
mailing list