Avoid the last two uses of bitmasks in interplayvideo