[vlc-commits] display: fix warning
Lyndon Brown
git at videolan.org
Wed Mar 20 15:34:36 CET 2019
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Mon Mar 18 06:45:01 2019 +0000| [9890b8bf8073a86dd154251e00a0139d9dd4e65c] | committer: Thomas Guillem
display: fix warning
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9890b8bf8073a86dd154251e00a0139d9dd4e65c
---
src/video_output/display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index cd775f9ef4..68cd8b671c 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -346,7 +346,7 @@ static int VoutDisplayCreateRender(vout_display_t *vd)
es_format_InitFromVideo(&src, &v_src);
/* */
- int ret;
+ int ret = -1;
for (int i = 0; i < 1 + (v_dst_cmp.i_chroma != v_dst.i_chroma); i++) {
es_format_t dst;
More information about the vlc-commits
mailing list