[vlc-commits] video_chroma: chain: fix uninitialized variable
Thomas Guillem
git at videolan.org
Fri May 26 15:27:17 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 26 15:25:44 2017 +0200| [b8eaa2306a8fa4b4b2e1a50950d104ddaee58ecd] | committer: Thomas Guillem
video_chroma: chain: fix uninitialized variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8eaa2306a8fa4b4b2e1a50950d104ddaee58ecd
---
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++ )
More information about the vlc-commits
mailing list