vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Jan 13 20:23:26 2013 +0200| [105af824e6e5d298fa797bee2515a4fd121f1b39] | committer: Rémi Denis-Courmont
vdpau: use ctz() > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=105af824e6e5d298fa797bee2515a4fd121f1b39 --- modules/codec/avcodec/vdpau.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/avcodec/vdpau.c b/modules/codec/avcodec/vdpau.c index 2b26646..c41340b 100644 --- a/modules/codec/avcodec/vdpau.c +++ b/modules/codec/avcodec/vdpau.c @@ -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; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
