XCB/XVideo: return correct number of adaptors (fixes #11235)
avi: memory leak