diff options
author | Christian König <[email protected]> | 2011-06-07 21:15:58 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-06-07 21:15:58 +0200 |
commit | 8b02f9e67b83e40019d6b07b9a035ba5d5042688 (patch) | |
tree | bab0ff7130877bed328593edf6b2d3549f30ee80 /src/gallium | |
parent | f1bf7d3dbfa8c74b9537e6132f17dd8250a3451b (diff) |
xvmc: fix some warning about uninitialized vars
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/xorg/xvmc/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xvmc/context.c b/src/gallium/state_trackers/xorg/xvmc/context.c index a28c3f7a424..fbfa1afe44c 100644 --- a/src/gallium/state_trackers/xorg/xvmc/context.c +++ b/src/gallium/state_trackers/xorg/xvmc/context.c @@ -53,7 +53,7 @@ static Status Validate(Display *dpy, XvPortID port, int surface_type_id, XvAdaptorInfo *adaptor_info; unsigned int num_adaptors; int num_types; - unsigned int max_width, max_height; + unsigned int max_width = 0, max_height = 0; Status ret; assert(dpy); |