Re: [Mesa-dev] [PATCH] st/vdpau: correct null check

2016-03-30 Thread Thomas H.P. Andersen
On Wed, Mar 30, 2016 at 9:26 AM, Christian König wrote: > Am 30.03.2016 um 08:13 schrieb Thomas Hindoe Paaboel Andersen: > >> The null check of result was the wrong way around. Also, move memset >> and dereference of result after the null check. >> --- >> src/gallium/state_trackers/vdpau/surfac

Re: [Mesa-dev] [PATCH] st/vdpau: correct null check

2016-03-30 Thread Christian König
Am 30.03.2016 um 08:13 schrieb Thomas Hindoe Paaboel Andersen: The null check of result was the wrong way around. Also, move memset and dereference of result after the null check. --- src/gallium/state_trackers/vdpau/surface.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) Goo

[Mesa-dev] [PATCH] st/vdpau: correct null check

2016-03-29 Thread Thomas Hindoe Paaboel Andersen
The null check of result was the wrong way around. Also, move memset and dereference of result after the null check. --- src/gallium/state_trackers/vdpau/surface.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/