From b8eaa2306a8fa4b4b2e1a50950d104ddaee58ecd Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Fri, 26 May 2017 15:25:44 +0200 Subject: [PATCH] video_chroma: chain: fix uninitialized variable --- modules/video_chroma/chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_chroma/chain.c b/modules/video_chroma/chain.c index 6bc7af35f6..13ea543c9a 100644 --- a/modules/video_chroma/chain.c +++ b/modules/video_chroma/chain.c @@ -230,7 +230,7 @@ static int BuildChromaResize( filter_t *p_filter ) static int BuildChromaChain( filter_t *p_filter ) { es_format_t fmt_mid; - int i_ret; + int i_ret = VLC_EGENERIC; /* Now try chroma format list */ for( int i = 0; pi_allowed_chromas[i]; i++ ) -- 2.11.4.GIT