[vlc-devel] commit: Fix a uninitialized variable warning in xcb/xvideo.c. (JP Dinger )

git version control git at videolan.org
Sun Nov 15 23:36:48 CET 2009


vlc | branch: master | JP Dinger <jpd at videolan.org> | Sun Nov 15 23:21:05 2009 +0100| [eb461c0dd3a05741db5a791b14ca0d10439def4e] | committer: JP Dinger 

Fix a uninitialized variable warning in xcb/xvideo.c.

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

 modules/video_output/xcb/xvideo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index 6c6ea5f..aa55e26 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -698,7 +698,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
     {
         const vout_display_cfg_t *cfg;
         const video_format_t *source;
-        bool is_forced;
+        bool is_forced = false;
 
         if (query == VOUT_DISPLAY_CHANGE_SOURCE_ASPECT
          || query == VOUT_DISPLAY_CHANGE_SOURCE_CROP)




More information about the vlc-devel mailing list