Commit 105af824 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vdpau: use ctz()

parent 82fdabda
......@@ -91,7 +91,7 @@ static int Lock (vlc_va_t *va, AVFrame *ff)
return VLC_EGENERIC;
}
unsigned idx = __builtin_ctz (sys->available);
unsigned idx = ctz (sys->available);
sys->available &= ~(1 << idx);
VdpVideoSurface *surface = sys->surfaces + idx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment