[vlc-commits] display: rename a variable

Rémi Denis-Courmont git at videolan.org
Sun Dec 9 20:45:42 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Dec  8 19:13:54 2018 +0200| [c8eb2237193f9d3ce935bddeb8c6ab54ce683189] | committer: Rémi Denis-Courmont

display: rename a variable

No functional changes.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8eb2237193f9d3ce935bddeb8c6ab54ce683189
---

 src/video_output/display.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/video_output/display.c b/src/video_output/display.c
index e4c603df7e..9349366b92 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -1219,7 +1219,7 @@ vout_display_t *vout_NewSplitter(vout_thread_t *vout,
         };
         const video_splitter_output_t *output = &splitter->p_output[i];
         vout_display_state_t ostate;
-        vout_window_cfg_t cfg = {
+        vout_window_cfg_t wcfg = {
             .width = state->cfg.display.width,
             .height = state->cfg.display.height,
             .is_decorated = true,
@@ -1232,9 +1232,9 @@ vout_display_t *vout_NewSplitter(vout_thread_t *vout,
         ostate.cfg.is_display_filled = true;
         ostate.cfg.zoom.num = 1;
         ostate.cfg.zoom.den = 1;
-        vout_display_GetDefaultDisplaySize(&cfg.width, &cfg.height,
+        vout_display_GetDefaultDisplaySize(&wcfg.width, &wcfg.height,
                                            source, &ostate.cfg);
-        ostate.cfg.window = vout_display_window_New(vout, &cfg);
+        ostate.cfg.window = vout_display_window_New(vout, &wcfg);
         if (unlikely(ostate.cfg.window == NULL)) {
             vout_DeleteDisplay(wrapper, NULL);
             return NULL;



More information about the vlc-commits mailing list