Merge "Remove duplicate ans parameter in bitstream functions." into nextgenv2