[vlc-commits] decklink output: missing initialization
Rafaël Carré
git at videolan.org
Mon Mar 4 23:40:28 CET 2013
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Mar 4 23:40:10 2013 +0100| [953cedd22abbaaa061cafd2b0ae2e9ce19e9ff20] | committer: Rafaël Carré
decklink output: missing initialization
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=953cedd22abbaaa061cafd2b0ae2e9ce19e9ff20
---
modules/video_output/decklink.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 8e3f249..d041779 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -225,6 +225,7 @@ static struct decklink_sys_t *GetDLSys(vlc_object_t *obj)
sys = (struct decklink_sys_t*)malloc(sizeof(*sys));
if (sys) {
sys->p_output = NULL;
+ sys->offset = 0;
sys->users = 0;
sys->aconn = 0;
vlc_mutex_init(&sys->lock);
More information about the vlc-commits
mailing list