[vlc-commits] macosx: Video filter: Correctly determine type of variable
David Fuhrmann
git at videolan.org
Wed Dec 13 23:51:19 CET 2017
vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Dec 10 18:05:25 2017 +0100| [fcb980a213316ce17f07e4c6b31185359fcf3033] | committer: David Fuhrmann
macosx: Video filter: Correctly determine type of variable
Due to uninitialized variable, type was not detected correctly.
Consequently, the playlist variables for video effects were not
set correctly.
(cherry picked from commit 54152cecfa047e18f4b7cc70569ed3b0ee689de5)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=fcb980a213316ce17f07e4c6b31185359fcf3033
---
modules/gui/macosx/VLCCoreInteraction.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/VLCCoreInteraction.m b/modules/gui/macosx/VLCCoreInteraction.m
index 2aff35a737..636095a6a5 100644
--- a/modules/gui/macosx/VLCCoreInteraction.m
+++ b/modules/gui/macosx/VLCCoreInteraction.m
@@ -806,7 +806,7 @@ static int BossCallback(vlc_object_t *p_this, const char *psz_var,
playlist_t *p_playlist = pl_Get(p_intf);
if (!p_intf)
return;
- int i_type;
+ int i_type = 0;
bool b_is_command = false;
char const *psz_filter_type = [self getFilterType: psz_filter];
if (!psz_filter_type) {
More information about the vlc-commits
mailing list