buffersink: group libav API functions.