vdpau: unlock the mutex on error paths in attribute setting.
authorDave Airlie <airlied@redhat.com>
Mon, 1 Sep 2014 22:57:53 +0000 (08:57 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 2 Sep 2014 21:58:50 +0000 (07:58 +1000)
commitf4ccf687a678919920ceed5f2a5892c8870e5f30
treeb1b3204f703221494fda383f812b6c0d78c495f2
parent2da91188527d0878460eca5110867c6c1e665b64
vdpau: unlock the mutex on error paths in attribute setting.

Coverity pointed out we never dropped the lock here, so fix
it by using a common exit path.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/state_trackers/vdpau/mixer.c